@0xsequence/wallet-core 3.0.0-beta.9 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +2 -2
- package/.turbo/turbo-lint.log +4 -0
- package/.turbo/turbo-typecheck.log +4 -0
- package/CHANGELOG.md +148 -0
- package/dist/bundler/bundlers/pimlico.d.ts +3 -2
- package/dist/bundler/bundlers/pimlico.d.ts.map +1 -1
- package/dist/bundler/bundlers/pimlico.js +9 -3
- package/dist/env.d.ts +22 -0
- package/dist/env.d.ts.map +1 -0
- package/dist/env.js +42 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/signers/index.d.ts +1 -1
- package/dist/signers/passkey.d.ts +11 -3
- package/dist/signers/passkey.d.ts.map +1 -1
- package/dist/signers/passkey.js +12 -6
- package/dist/signers/pk/encrypted.d.ts +13 -2
- package/dist/signers/pk/encrypted.d.ts.map +1 -1
- package/dist/signers/pk/encrypted.js +94 -15
- package/dist/signers/pk/index.d.ts +1 -1
- package/dist/signers/session/explicit.d.ts.map +1 -1
- package/dist/signers/session/explicit.js +2 -2
- package/dist/signers/session/implicit.d.ts.map +1 -1
- package/dist/signers/session/implicit.js +1 -1
- package/dist/state/local/index.d.ts.map +1 -1
- package/dist/state/local/index.js +3 -2
- package/dist/state/local/indexed-db.d.ts +4 -1
- package/dist/state/local/indexed-db.d.ts.map +1 -1
- package/dist/state/local/indexed-db.js +12 -2
- package/dist/state/remote/dev-http.d.ts +2 -1
- package/dist/state/remote/dev-http.d.ts.map +1 -1
- package/dist/state/remote/dev-http.js +11 -5
- package/dist/state/sequence/index.d.ts +2 -1
- package/dist/state/sequence/index.d.ts.map +1 -1
- package/dist/state/sequence/index.js +14 -5
- package/dist/wallet.js +2 -2
- package/eslint.config.js +12 -0
- package/package.json +12 -10
- package/src/bundler/bundlers/pimlico.ts +10 -4
- package/src/env.ts +68 -0
- package/src/index.ts +1 -0
- package/src/signers/index.ts +1 -1
- package/src/signers/passkey.ts +21 -5
- package/src/signers/pk/encrypted.ts +103 -14
- package/src/signers/pk/index.ts +1 -1
- package/src/signers/session/explicit.ts +2 -9
- package/src/signers/session/implicit.ts +1 -2
- package/src/state/local/index.ts +4 -2
- package/src/state/local/indexed-db.ts +15 -2
- package/src/state/remote/dev-http.ts +11 -5
- package/src/state/sequence/index.ts +15 -6
- package/src/wallet.ts +2 -2
- package/test/constants.ts +2 -0
- package/test/envelope.test.ts +0 -1
- package/test/signers-pk.test.ts +1 -1
- package/test/signers-session-implicit.test.ts +0 -2
- package/test/state/debug.test.ts +2 -3
package/test/state/debug.test.ts
CHANGED
|
@@ -5,7 +5,6 @@ import { multiplex } from '../../src/state/debug.js'
|
|
|
5
5
|
|
|
6
6
|
// Test data
|
|
7
7
|
const TEST_ADDRESS = Address.from('0x1234567890123456789012345678901234567890')
|
|
8
|
-
const TEST_HEX = Hex.from('0xabcdef123456')
|
|
9
8
|
const TEST_UINT8ARRAY = new Uint8Array([171, 205, 239, 18, 52, 86])
|
|
10
9
|
|
|
11
10
|
describe('State Debug', () => {
|
|
@@ -241,13 +240,13 @@ describe('State Debug', () => {
|
|
|
241
240
|
}
|
|
242
241
|
|
|
243
242
|
const complexRef: ComplexInterface = {
|
|
244
|
-
async complexMethod(
|
|
243
|
+
async complexMethod() {
|
|
245
244
|
return 'complex-ref'
|
|
246
245
|
},
|
|
247
246
|
}
|
|
248
247
|
|
|
249
248
|
const complexCand: ComplexInterface = {
|
|
250
|
-
async complexMethod(
|
|
249
|
+
async complexMethod() {
|
|
251
250
|
return 'complex-cand'
|
|
252
251
|
},
|
|
253
252
|
}
|