@metamask-previews/eth-snap-keyring 17.1.0-ca7f2af → 17.2.0-50e2da5

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.
@@ -1 +1 @@
1
- {"version":3,"file":"SnapKeyringMessenger.mjs","sourceRoot":"","sources":["../src/SnapKeyringMessenger.ts"],"names":[],"mappings":"","sourcesContent":["import type { RestrictedMessenger } from '@metamask/base-controller';\nimport type {\n AccountAssetListUpdatedEventPayload,\n AccountBalancesUpdatedEventPayload,\n AccountTransactionsUpdatedEventPayload,\n} from '@metamask/keyring-api';\nimport type {\n HandleSnapRequest as SnapControllerHandleSnapRequest,\n GetSnap as SnapControllerGetSnap,\n IsMinimumPlatformVersion as SnapControllerIsMinimumPlatformVersion,\n} from '@metamask/snaps-controllers';\n\nexport type SnapKeyringGetAccountsAction = {\n type: `SnapKeyring:getAccounts`;\n handler: () => string[];\n};\n\nexport type SnapKeyringAccountBalancesUpdatedEvent = {\n type: `SnapKeyring:accountBalancesUpdated`;\n payload: [AccountBalancesUpdatedEventPayload];\n};\n\nexport type SnapKeyringAccountAssetListUpdatedEvent = {\n type: `SnapKeyring:accountAssetListUpdated`;\n payload: [AccountAssetListUpdatedEventPayload];\n};\n\nexport type SnapKeyringAccountTransactionsUpdatedEvent = {\n type: `SnapKeyring:accountTransactionsUpdated`;\n payload: [AccountTransactionsUpdatedEventPayload];\n};\n\nexport type SnapKeyringEvents =\n | SnapKeyringAccountAssetListUpdatedEvent\n | SnapKeyringAccountBalancesUpdatedEvent\n | SnapKeyringAccountTransactionsUpdatedEvent;\n\nexport type SnapKeyringAllowedActions =\n | SnapControllerHandleSnapRequest\n | SnapControllerGetSnap\n | SnapControllerIsMinimumPlatformVersion;\n\nexport type SnapKeyringMessenger = RestrictedMessenger<\n 'SnapKeyring',\n SnapKeyringAllowedActions,\n SnapKeyringEvents,\n SnapKeyringAllowedActions['type'],\n never\n>;\n"]}
1
+ {"version":3,"file":"SnapKeyringMessenger.mjs","sourceRoot":"","sources":["../src/SnapKeyringMessenger.ts"],"names":[],"mappings":"AA0CA,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAAC","sourcesContent":["import type { RestrictedMessenger } from '@metamask/base-controller';\nimport type {\n AccountAssetListUpdatedEventPayload,\n AccountBalancesUpdatedEventPayload,\n AccountTransactionsUpdatedEventPayload,\n} from '@metamask/keyring-api';\nimport type {\n HandleSnapRequest as SnapControllerHandleSnapRequest,\n GetSnap as SnapControllerGetSnap,\n IsMinimumPlatformVersion as SnapControllerIsMinimumPlatformVersion,\n} from '@metamask/snaps-controllers';\n\nexport type SnapKeyringGetAccountsAction = {\n type: `SnapKeyring:getAccounts`;\n handler: () => string[];\n};\n\nexport type SnapKeyringAccountBalancesUpdatedEvent = {\n type: `SnapKeyring:accountBalancesUpdated`;\n payload: [AccountBalancesUpdatedEventPayload];\n};\n\nexport type SnapKeyringAccountAssetListUpdatedEvent = {\n type: `SnapKeyring:accountAssetListUpdated`;\n payload: [AccountAssetListUpdatedEventPayload];\n};\n\nexport type SnapKeyringAccountTransactionsUpdatedEvent = {\n type: `SnapKeyring:accountTransactionsUpdated`;\n payload: [AccountTransactionsUpdatedEventPayload];\n};\n\nexport type SnapKeyringEvents =\n | SnapKeyringAccountAssetListUpdatedEvent\n | SnapKeyringAccountBalancesUpdatedEvent\n | SnapKeyringAccountTransactionsUpdatedEvent;\n\nexport type SnapKeyringAllowedActions =\n | SnapControllerHandleSnapRequest\n | SnapControllerGetSnap\n | SnapControllerIsMinimumPlatformVersion;\n\nexport const SNAP_KEYRING_NAME = 'SnapKeyring';\n\nexport type SnapKeyringMessenger = RestrictedMessenger<\n typeof SNAP_KEYRING_NAME,\n SnapKeyringAllowedActions,\n SnapKeyringEvents,\n SnapKeyringAllowedActions['type'],\n never\n>;\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamask-previews/eth-snap-keyring",
3
- "version": "17.1.0-ca7f2af",
3
+ "version": "17.2.0-50e2da5",
4
4
  "description": "Snaps keyring bridge.",
5
5
  "repository": {
6
6
  "type": "git",