@canvas-js/interfaces
Advanced tools
Comparing version 0.0.34-alpha4 to 0.0.34-alpha5
@@ -27,1 +27,7 @@ import type { Chain, ChainId } from "./contracts.js"; | ||
}; | ||
export type ActionToken = { | ||
sendAction: string; | ||
params: string[]; | ||
application: string; | ||
timestamp: string; | ||
}; |
@@ -6,3 +6,2 @@ export * from "./sessions.js"; | ||
export * from "./contracts.js"; | ||
export * from "./signers.js"; | ||
import type { Session } from "./sessions.js"; | ||
@@ -9,0 +8,0 @@ import type { Action } from "./actions.js"; |
@@ -6,2 +6,1 @@ export * from "./sessions.js"; | ||
export * from "./contracts.js"; | ||
export * from "./signers.js"; |
@@ -16,1 +16,7 @@ import { Chain, ChainId } from "./contracts.js"; | ||
}; | ||
export type SessionToken = { | ||
loginTo: string; | ||
registerSessionAddress: string; | ||
registerSessionDuration: string; | ||
timestamp: string; | ||
}; |
@@ -33,3 +33,3 @@ import { utils } from "ethers"; | ||
} | ||
const namePattern = /^[a-zA-Z][a-zA-Z0-9]*$/; | ||
const namePattern = /^[a-zA-Z][a-zA-Z0-9_]*$/; | ||
export function getActionSignatureData(payload) { | ||
@@ -36,0 +36,0 @@ const domain = { |
{ | ||
"name": "@canvas-js/interfaces", | ||
"version": "0.0.34-alpha4", | ||
"version": "0.0.34-alpha5", | ||
"type": "module", | ||
@@ -14,7 +14,3 @@ "author": "Canvas Technology Corporation (https://canvas.xyz)", | ||
}, | ||
"dependencies": { | ||
"@ethersproject/abstract-signer": "^5.6.2", | ||
"@ethersproject/wallet": "^5.6.2", | ||
"ethers": "^5.7.0" | ||
} | ||
"dependencies": {} | ||
} |
6807
0
17
213
- Removed@ethersproject/wallet@^5.6.2
- Removedethers@^5.7.0
- Removed@ethersproject/abi@5.8.0(transitive)
- Removed@ethersproject/abstract-provider@5.8.0(transitive)
- Removed@ethersproject/abstract-signer@5.8.0(transitive)
- Removed@ethersproject/address@5.8.0(transitive)
- Removed@ethersproject/base64@5.8.0(transitive)
- Removed@ethersproject/basex@5.8.0(transitive)
- Removed@ethersproject/bignumber@5.8.0(transitive)
- Removed@ethersproject/bytes@5.8.0(transitive)
- Removed@ethersproject/constants@5.8.0(transitive)
- Removed@ethersproject/contracts@5.8.0(transitive)
- Removed@ethersproject/hash@5.8.0(transitive)
- Removed@ethersproject/hdnode@5.8.0(transitive)
- Removed@ethersproject/json-wallets@5.8.0(transitive)
- Removed@ethersproject/keccak256@5.8.0(transitive)
- Removed@ethersproject/logger@5.8.0(transitive)
- Removed@ethersproject/networks@5.8.0(transitive)
- Removed@ethersproject/pbkdf2@5.8.0(transitive)
- Removed@ethersproject/properties@5.8.0(transitive)
- Removed@ethersproject/providers@5.8.0(transitive)
- Removed@ethersproject/random@5.8.0(transitive)
- Removed@ethersproject/rlp@5.8.0(transitive)
- Removed@ethersproject/sha2@5.8.0(transitive)
- Removed@ethersproject/signing-key@5.8.0(transitive)
- Removed@ethersproject/solidity@5.8.0(transitive)
- Removed@ethersproject/strings@5.8.0(transitive)
- Removed@ethersproject/transactions@5.8.0(transitive)
- Removed@ethersproject/units@5.8.0(transitive)
- Removed@ethersproject/wallet@5.8.0(transitive)
- Removed@ethersproject/web@5.8.0(transitive)
- Removed@ethersproject/wordlists@5.8.0(transitive)
- Removedaes-js@3.0.0(transitive)
- Removedbech32@1.1.4(transitive)
- Removedbn.js@4.12.15.2.1(transitive)
- Removedbrorand@1.1.0(transitive)
- Removedelliptic@6.6.1(transitive)
- Removedethers@5.8.0(transitive)
- Removedhash.js@1.1.7(transitive)
- Removedhmac-drbg@1.0.1(transitive)
- Removedinherits@2.0.4(transitive)
- Removedjs-sha3@0.8.0(transitive)
- Removedminimalistic-assert@1.0.1(transitive)
- Removedminimalistic-crypto-utils@1.0.1(transitive)
- Removedscrypt-js@3.0.1(transitive)
- Removedws@8.18.0(transitive)