@metamask-previews/wallet 4.0.0-preview-a8fd340 → 4.0.0-preview-55f166437
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/CHANGELOG.md +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +1 -0
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
11
11
|
|
|
12
12
|
- **BREAKING:** Wire `PreferencesController` into the default wallet initialization ([#9232](https://github.com/MetaMask/core/pull/9232))
|
|
13
13
|
- The default `Wallet` now constructs a `PreferencesController` and registers its `PreferencesController:*` messenger actions. Consumers that pass their own `messenger` and already wire a `PreferencesController` must remove their own before upgrading, or the duplicate registration will collide.
|
|
14
|
+
- Export the `InitializationConfiguration`, `InitFunctionArguments`, and `InstanceState` types so consumers can author initialization configurations that override a default controller ([#9232](https://github.com/MetaMask/core/pull/9232))
|
|
14
15
|
|
|
15
16
|
### Changed
|
|
16
17
|
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,uCAAkC;AAAzB,gGAAA,MAAM,OAAA;AACf,sHAA+G;AAAtG,4HAAA,mBAAmB,OAAA;AAC5B,6CAAyD;AAAhD,uHAAA,0BAA0B,OAAA","sourcesContent":["export { Wallet } from './Wallet';\nexport { AlwaysOnlineAdapter } from './initialization/instances/connectivity-controller/always-online-adapter';\nexport { importSecretRecoveryPhrase } from './utilities';\nexport type { WalletOptions } from './types';\nexport type {\n DefaultActions,\n DefaultEvents,\n DefaultInstances,\n DefaultState,\n RootMessenger,\n} from './initialization/defaults';\n"]}
|
|
1
|
+
{"version":3,"file":"index.cjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,uCAAkC;AAAzB,gGAAA,MAAM,OAAA;AACf,sHAA+G;AAAtG,4HAAA,mBAAmB,OAAA;AAC5B,6CAAyD;AAAhD,uHAAA,0BAA0B,OAAA","sourcesContent":["export { Wallet } from './Wallet';\nexport { AlwaysOnlineAdapter } from './initialization/instances/connectivity-controller/always-online-adapter';\nexport { importSecretRecoveryPhrase } from './utilities';\nexport type { WalletOptions } from './types';\nexport type {\n DefaultActions,\n DefaultEvents,\n DefaultInstances,\n DefaultState,\n RootMessenger,\n} from './initialization/defaults';\nexport type {\n InitFunctionArguments,\n InitializationConfiguration,\n InstanceState,\n} from './initialization/types';\n"]}
|
package/dist/index.d.cts
CHANGED
|
@@ -3,4 +3,5 @@ export { AlwaysOnlineAdapter } from "./initialization/instances/connectivity-con
|
|
|
3
3
|
export { importSecretRecoveryPhrase } from "./utilities.cjs";
|
|
4
4
|
export type { WalletOptions } from "./types.cjs";
|
|
5
5
|
export type { DefaultActions, DefaultEvents, DefaultInstances, DefaultState, RootMessenger, } from "./initialization/defaults.cjs";
|
|
6
|
+
export type { InitFunctionArguments, InitializationConfiguration, InstanceState, } from "./initialization/types.cjs";
|
|
6
7
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,qBAAiB;AAClC,OAAO,EAAE,mBAAmB,EAAE,qFAAiF;AAC/G,OAAO,EAAE,0BAA0B,EAAE,wBAAoB;AACzD,YAAY,EAAE,aAAa,EAAE,oBAAgB;AAC7C,YAAY,EACV,cAAc,EACd,aAAa,EACb,gBAAgB,EAChB,YAAY,EACZ,aAAa,GACd,sCAAkC"}
|
|
1
|
+
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,qBAAiB;AAClC,OAAO,EAAE,mBAAmB,EAAE,qFAAiF;AAC/G,OAAO,EAAE,0BAA0B,EAAE,wBAAoB;AACzD,YAAY,EAAE,aAAa,EAAE,oBAAgB;AAC7C,YAAY,EACV,cAAc,EACd,aAAa,EACb,gBAAgB,EAChB,YAAY,EACZ,aAAa,GACd,sCAAkC;AACnC,YAAY,EACV,qBAAqB,EACrB,2BAA2B,EAC3B,aAAa,GACd,mCAA+B"}
|
package/dist/index.d.mts
CHANGED
|
@@ -3,4 +3,5 @@ export { AlwaysOnlineAdapter } from "./initialization/instances/connectivity-con
|
|
|
3
3
|
export { importSecretRecoveryPhrase } from "./utilities.mjs";
|
|
4
4
|
export type { WalletOptions } from "./types.mjs";
|
|
5
5
|
export type { DefaultActions, DefaultEvents, DefaultInstances, DefaultState, RootMessenger, } from "./initialization/defaults.mjs";
|
|
6
|
+
export type { InitFunctionArguments, InitializationConfiguration, InstanceState, } from "./initialization/types.mjs";
|
|
6
7
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,qBAAiB;AAClC,OAAO,EAAE,mBAAmB,EAAE,qFAAiF;AAC/G,OAAO,EAAE,0BAA0B,EAAE,wBAAoB;AACzD,YAAY,EAAE,aAAa,EAAE,oBAAgB;AAC7C,YAAY,EACV,cAAc,EACd,aAAa,EACb,gBAAgB,EAChB,YAAY,EACZ,aAAa,GACd,sCAAkC"}
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,qBAAiB;AAClC,OAAO,EAAE,mBAAmB,EAAE,qFAAiF;AAC/G,OAAO,EAAE,0BAA0B,EAAE,wBAAoB;AACzD,YAAY,EAAE,aAAa,EAAE,oBAAgB;AAC7C,YAAY,EACV,cAAc,EACd,aAAa,EACb,gBAAgB,EAChB,YAAY,EACZ,aAAa,GACd,sCAAkC;AACnC,YAAY,EACV,qBAAqB,EACrB,2BAA2B,EAC3B,aAAa,GACd,mCAA+B"}
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,qBAAiB;AAClC,OAAO,EAAE,mBAAmB,EAAE,qFAAiF;AAC/G,OAAO,EAAE,0BAA0B,EAAE,wBAAoB","sourcesContent":["export { Wallet } from './Wallet';\nexport { AlwaysOnlineAdapter } from './initialization/instances/connectivity-controller/always-online-adapter';\nexport { importSecretRecoveryPhrase } from './utilities';\nexport type { WalletOptions } from './types';\nexport type {\n DefaultActions,\n DefaultEvents,\n DefaultInstances,\n DefaultState,\n RootMessenger,\n} from './initialization/defaults';\n"]}
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,qBAAiB;AAClC,OAAO,EAAE,mBAAmB,EAAE,qFAAiF;AAC/G,OAAO,EAAE,0BAA0B,EAAE,wBAAoB","sourcesContent":["export { Wallet } from './Wallet';\nexport { AlwaysOnlineAdapter } from './initialization/instances/connectivity-controller/always-online-adapter';\nexport { importSecretRecoveryPhrase } from './utilities';\nexport type { WalletOptions } from './types';\nexport type {\n DefaultActions,\n DefaultEvents,\n DefaultInstances,\n DefaultState,\n RootMessenger,\n} from './initialization/defaults';\nexport type {\n InitFunctionArguments,\n InitializationConfiguration,\n InstanceState,\n} from './initialization/types';\n"]}
|