Skip to content

Commit 19bb462

Browse files
Merge pull request #2 from gavinharris-dev/feature/cip30
Feature/cip30
2 parents 6e686e6 + 83282d4 commit 19bb462

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

dist/browser.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/node.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "web3-cardano-token",
3-
"version": "0.0.12",
3+
"version": "0.1.15",
44
"private": false,
55
"description": "Web3 Token is a new way to authenticate users in hybrid dApps using signed messages.",
66
"author": "pyropy",

src/lib/sign.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export const sign = async (signer, expires_in = '1d', body = {}) => {
3333
const {signature, key} = COSESign1Message;
3434

3535
if(typeof signature !== 'string') {
36-
throw new Error('"signer" argument should be a function that returns a signature string (Promise<string>)')
36+
throw new Error('"signature" argument should be a function that returns a signature string (Promise<string>)')
3737
}
3838

3939
const token = Base64.encode(JSON.stringify({

0 commit comments

Comments
 (0)