diff --git a/CHANGELOG.md b/CHANGELOG.md index 1748c4b8..a7c7d14e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Changed +- `@rarimo/rarime`: + - Save credentials to ceramic instead of snap store + +### Removed +- `@rarimo/rarime`: + - `create` and `recover` backup methods +- `@rarimo/rarime-connector`: + - `create` and `recover` backup methods ## [0.8.0] - 2023-10-23 ### Changed diff --git a/packages/connector/README.md b/packages/connector/README.md index 1934fb2e..fd543f45 100644 --- a/packages/connector/README.md +++ b/packages/connector/README.md @@ -156,21 +156,6 @@ type StateInfo = { }; ``` - -### Create a backup -To create a backup of keys and credentials: -```typescript -createBackup(): Promise -``` -Returns true if backup created - -### Recovery from a backup -Recovering the identity and credentials from a backup: -```typescript -recoverBackup(): Promise -``` -Returns true if backup recovered - ### Check state contract sync ```typescript diff --git a/packages/connector/src/methods.ts b/packages/connector/src/methods.ts index 6d56543a..489038e9 100644 --- a/packages/connector/src/methods.ts +++ b/packages/connector/src/methods.ts @@ -32,21 +32,6 @@ export const createIdentity = async function ( ); }; -export const createBackup = async function ( - this: MetamaskSnap, -): Promise { - return await sendSnapMethod({ method: RPCMethods.CreateBackup }, this.snapId); -}; - -export const recoverBackup = async function ( - this: MetamaskSnap, -): Promise { - return await sendSnapMethod( - { method: RPCMethods.RecoverBackup }, - this.snapId, - ); -}; - export const saveCredentials = async function ( this: MetamaskSnap, params: SaveCredentialsRequestParams, diff --git a/packages/connector/src/snap.ts b/packages/connector/src/snap.ts index 3295736d..382cc6b8 100644 --- a/packages/connector/src/snap.ts +++ b/packages/connector/src/snap.ts @@ -1,9 +1,7 @@ import { SnapConnector } from './types'; import { - createBackup, createIdentity, createProof, - recoverBackup, saveCredentials, checkStateContractSync, getCredentials, @@ -19,8 +17,6 @@ export class MetamaskSnap { public getConnector = async (): Promise => { return { createIdentity: createIdentity.bind(this), - createBackup: createBackup.bind(this), - recoverBackup: recoverBackup.bind(this), saveCredentials: saveCredentials.bind(this), createProof: createProof.bind(this), checkStateContractSync: checkStateContractSync.bind(this), diff --git a/packages/connector/src/types.ts b/packages/connector/src/types.ts index d800a4e8..8cb46a76 100644 --- a/packages/connector/src/types.ts +++ b/packages/connector/src/types.ts @@ -9,8 +9,6 @@ declare global { export enum RPCMethods { CreateIdentity = 'create_identity', - CreateBackup = 'create_backup', - RecoverBackup = 'recover_backup', SaveCredentials = 'save_credentials', CreateProof = 'create_proof', CheckStateContractSync = 'check_state_contract_sync', @@ -19,8 +17,6 @@ export enum RPCMethods { export type SnapConnector = { createIdentity(): Promise; - createBackup(): Promise; - recoverBackup(): Promise; saveCredentials( params: SaveCredentialsRequestParams, ): Promise; diff --git a/packages/site/src/pages/index.tsx b/packages/site/src/pages/index.tsx index f26344a2..ac5bcfd7 100644 --- a/packages/site/src/pages/index.tsx +++ b/packages/site/src/pages/index.tsx @@ -7,8 +7,6 @@ import { createIdentity, sendVc, shouldDisplayReconnectButton, - createBackup, - recoverBackup, reconnectSnap, checkStateContractSync, getCredentials, @@ -158,24 +156,6 @@ const Index = () => { } }; - const handleCreateBackupClick = async () => { - try { - await createBackup(); - } catch (e) { - console.error(e); - dispatch({ type: MetamaskActions.SetError, payload: e }); - } - }; - - const handleRecoverBackupClick = async () => { - try { - await recoverBackup(); - } catch (e) { - console.error(e); - dispatch({ type: MetamaskActions.SetError, payload: e }); - } - }; - const handleCheckStateContractSyncClick = async () => { try { await checkStateContractSync(); @@ -305,43 +285,6 @@ const Index = () => { !shouldDisplayReconnectButton(state.installedSnap) } /> - - ), - }} - disabled={!state.installedSnap} - fullWidth={ - state.isFlask && - Boolean(state.installedSnap) && - !shouldDisplayReconnectButton(state.installedSnap) - } - /> - - ), - }} - disabled={!state.installedSnap} - fullWidth={ - state.isFlask && - Boolean(state.installedSnap) && - !shouldDisplayReconnectButton(state.installedSnap) - } - /> { const data = await connector.createProof({ circuitId: 'credentialAtomicQueryMTPV2OnChain', accountAddress: accounts[0], + issuerDid: 'did:iden3:tJgV5GSETVoEdg3BeQygWJdNEHHwZTSSiCB1NkM1u', query: { allowedIssuers: ['*'], credentialSubject: { @@ -51,14 +52,6 @@ export const createProof = async () => { console.log(data); }; -export const createBackup = async () => { - await connector.createBackup(); -}; - -export const recoverBackup = async () => { - await connector.recoverBackup(); -}; - export const checkStateContractSync = async () => { const isSynced = await connector.checkStateContractSync(); diff --git a/packages/snap/README.md b/packages/snap/README.md index 7a371262..7aa16ae8 100644 --- a/packages/snap/README.md +++ b/packages/snap/README.md @@ -101,30 +101,6 @@ where: - **type**: type of credentials allowed - **credentialSubject**: query request to a query circuit -### Create a backup -To create a backup of keys and credentials: -```javascript -await window.ethereum.request({ - method: 'wallet_invokeSnap', - params: { - snapId: 'snapId', - request: { method: 'create_backup' }, - }, -}); -``` - -### Recovery from a backup -Recovering the identity and credentials from a backup: -```javascript -await window.ethereum.request({ - method: 'wallet_invokeSnap', - params: { - snapId: 'snapId', - request: { method: 'recover_backup' }, - }, -}); -``` - ### Check state contract Returns `true` if the state contract on current chain need to be synced: diff --git a/packages/snap/package.json b/packages/snap/package.json index cb14522b..dda989b4 100644 --- a/packages/snap/package.json +++ b/packages/snap/package.json @@ -33,10 +33,12 @@ "preversion": "yarn && yarn build && git add snap.manifest.json" }, "dependencies": { + "@ceramicnetwork/http-client": "2.27.0", "@ethersproject/abi": "5.0.0", "@ethersproject/bytes": "5.7.0", "@ethersproject/keccak256": "5.7.0", "@ethersproject/providers": "5.7.2", + "@glazed/did-datastore": "0.3.2", "@iden3/js-crypto": "1.0.0-beta.1", "@iden3/js-iden3-core": "1.0.0-beta.2", "@iden3/js-jsonld-merklization": "1.0.0-beta.14", @@ -47,8 +49,11 @@ "@metamask/snaps-ui": "0.32.2", "@rarimo/rarime-connector": "0.8.0", "buffer": "6.0.3", + "dids": "4.0.4", "ethers": "5.7.2", "intl": "1.2.5", + "key-did-provider-ed25519": "3.0.2", + "key-did-resolver": "3.0.0", "typia": "4.1.3", "uuid": "9.0.0" }, diff --git a/packages/snap/post-process.js b/packages/snap/post-process.js index 7327e1ee..70d13e15 100644 --- a/packages/snap/post-process.js +++ b/packages/snap/post-process.js @@ -9,6 +9,11 @@ let bundleString = fs.readFileSync(bundlePath, 'utf8'); bundleString = 'var Worker = {};\n'.concat(bundleString); +bundleString = bundleString.replace( + "/** @type {import('cborg').TagDecoder[]} */", + '', +); + // Remove eval bundleString = bundleString.replaceAll(`eval(`, 'evalIn('); diff --git a/packages/snap/snap.manifest.json b/packages/snap/snap.manifest.json index 54c16e85..e3773de3 100644 --- a/packages/snap/snap.manifest.json +++ b/packages/snap/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/rarimo/rarime.git" }, "source": { - "shasum": "y+9O7z7mlNe85T/RCp32jySBwGoJ9tf0NrKlLrpgNdw=", + "shasum": "k0vZhwN7YHi80/3dxEZiMAoKCkN9NMvFESjYAPFdMYk=", "location": { "npm": { "filePath": "dist/bundle.js", diff --git a/packages/snap/src/config.ts b/packages/snap/src/config.ts index 8d33d7b2..0e680dd2 100644 --- a/packages/snap/src/config.ts +++ b/packages/snap/src/config.ts @@ -88,3 +88,32 @@ export const SUPPORTED_CHAINS: Record = { }; export const GET_CREDENTIALS_SUPPORTED_HOSTNAMES = ['localhost']; + +/* +https://developers.ceramic.network/tools/glaze/deploy-from-cli/ + +Publish models: +1) glaze config:set ceramic-url ceramic-url(https://.....) +2) glaze model:create encrypted-data +3) glaze did:create + Save the private key and did and then use it in --key +4) glaze model:add encrypted-data schema EncryptedCredentials '{"$schema":"http://json-schema.org/draft-07/schema#","title":"EncryptedCredentials","type":" object","properties":{"data":{"type":"string"}},"required":["data"],"additionalProperties":false}' --key=key +5) glaze model:inspect encrypted-data + We take the schema version from there + And insert into schema (point 6) (ceramic:// + version) +6) glaze model:add encrypted-data definition encryptedCredentials '{"name":"Encrypted credentials","description":"Encrypted verifiable credentials in Ceramic","schema":"ceramic://k3y52l7qbv1fryhxouyfmpmct2tiehvosfgkcqiqc2enafrolcq0i34ocim3p0ge8" }' --key =key +7) glaze model:deploy encrypted-data ./deployed-model.json +*/ +export const CERAMIC_ALIASES = { + definitions: { + encryptedCredentials: + 'kjzl6cwe1jw148ogdspueenn4m3zbose42od00t7j17su653wql2rp73plm3biq', + }, + schemas: { + EncryptedCredentials: + 'ceramic://k3y52l7qbv1frymy245dkbe095vtpn9vqz4o5fu43gxrsu5c2h227i2ddw95y6a68', + }, + tiles: {}, +}; + +export const CERAMIC_URL = 'https://ceramic.rarimo.com'; diff --git a/packages/snap/src/helpers/backup-helpers.ts b/packages/snap/src/helpers/backup-helpers.ts deleted file mode 100644 index d7627b4b..00000000 --- a/packages/snap/src/helpers/backup-helpers.ts +++ /dev/null @@ -1,54 +0,0 @@ -import { JSONLDSchemas, StorageKeys } from '../enums'; -import { Identity } from '../identity'; -import { getItemFromStore, setItemInStore } from '../rpc'; -import { BackupData, W3CCredential } from '../types'; - -export const exportKeysAndCredentials = async () => { - const credentials = (await getItemFromStore(StorageKeys.credentials)) || []; - const identity = await getItemFromStore(StorageKeys.identity); - - return JSON.stringify({ - privateKey: identity?.privateKeyHex, - credentials, - }); -}; - -export const validateCredentials = ( - credentials: W3CCredential[], - did: string, -) => { - if (!Array.isArray(credentials)) { - return false; - } else if (!credentials.length) { - return true; - } - return credentials.every( - (cred) => - cred?.credentialSubject?.id === did && - cred?.['@context']?.[1] === JSONLDSchemas.Iden3Credential, - ); -}; - -export const importKeysAndCredentials = async (backupData: BackupData) => { - if (!backupData.credentials?.length && !backupData.privateKey) { - throw new Error('You provided an empty backup'); - } else if (!backupData.privateKey) { - throw new Error('You provided a backup with an empty private key'); - } - // this method throw an error if private key is not valid - const identity = await Identity.create(backupData.privateKey); - - if ( - backupData.credentials && - !validateCredentials(backupData.credentials, identity.didString) - ) { - throw new Error('Credentials is not valid'); - } - - await setItemInStore(StorageKeys.identity, { - privateKeyHex: identity.privateKeyHex, - did: identity.didString, - }); - - await setItemInStore(StorageKeys.credentials, backupData?.credentials || []); -}; diff --git a/packages/snap/src/helpers/ceramic-helpers.ts b/packages/snap/src/helpers/ceramic-helpers.ts new file mode 100644 index 00000000..f8df4108 --- /dev/null +++ b/packages/snap/src/helpers/ceramic-helpers.ts @@ -0,0 +1,62 @@ +import { DID as CeramicDID } from 'dids'; +import { Ed25519Provider } from 'key-did-provider-ed25519'; +import { getResolver } from 'key-did-resolver'; +import { CeramicClient } from '@ceramicnetwork/http-client'; +import { DIDDataStore } from '@glazed/did-datastore'; +import { Hex } from '@iden3/js-crypto'; +import { CERAMIC_ALIASES, CERAMIC_URL } from '../config'; +import { getItemFromStore } from '../rpc'; +import { StorageKeys } from '../enums'; +import { W3CCredential } from '../types'; + +export const getCeramic = async () => { + const identityStorage = await getItemFromStore(StorageKeys.identity); + if (!identityStorage) { + throw new Error('Identity not created yet'); + } + const did = new CeramicDID({ + provider: new Ed25519Provider( + Hex.decodeString(identityStorage.privateKeyHex), + ), + resolver: getResolver(), + }); + await did.authenticate(); + const ceramic = new CeramicClient(CERAMIC_URL); + ceramic.setDID(did); + return ceramic; +}; + +export const getCeramicAndStore = async () => { + const ceramic = await getCeramic(); + if (!ceramic.did) { + throw new Error("DID wasn't set"); + } + const datastore = new DIDDataStore({ ceramic, model: CERAMIC_ALIASES }); + return { ceramic, datastore }; +}; + +export const saveEncryptedCredentials = async (data: W3CCredential[]) => { + const { ceramic, datastore } = await getCeramicAndStore(); + + const jwe = await ceramic.did?.createJWE( + new TextEncoder().encode(JSON.stringify(data)), + [ceramic.did.id], + ); + await datastore.merge('encryptedCredentials', { + data: btoa(JSON.stringify(jwe)), + }); +}; + +export const getDecryptedCredentials = async (): Promise => { + const { ceramic, datastore } = await getCeramicAndStore(); + + const encryptedData = await datastore.get('encryptedCredentials'); + if (!encryptedData?.data) { + return []; + } + const data = await ceramic.did?.decryptJWE( + JSON.parse(atob(encryptedData.data)), + ); + + return JSON.parse(new TextDecoder().decode(data)); +}; diff --git a/packages/snap/src/helpers/common-helpers.ts b/packages/snap/src/helpers/common-helpers.ts index 73cc9569..92d358c0 100644 --- a/packages/snap/src/helpers/common-helpers.ts +++ b/packages/snap/src/helpers/common-helpers.ts @@ -37,3 +37,18 @@ export const getRarimoStateContractAddress = (chainId: number) => { export const getHostname = (origin: string): string => { return new URL(origin).hostname; }; + +export const uniqBy = (arr: any[], predicate: string) => { + return [ + ...arr + .reduce((map, item) => { + const key = + item === null || item === undefined ? item : item[predicate]; + + map.has(key) || map.set(key, item); + + return map; + }, new Map()) + .values(), + ]; +}; diff --git a/packages/snap/src/helpers/credential-helpers.ts b/packages/snap/src/helpers/credential-helpers.ts index c925d4de..04a562c7 100644 --- a/packages/snap/src/helpers/credential-helpers.ts +++ b/packages/snap/src/helpers/credential-helpers.ts @@ -1,40 +1,34 @@ import { Claim } from '@iden3/js-iden3-core'; import { ProofType, StorageKeys } from '../enums'; -import { getItemFromStore, setItemInStore } from '../rpc'; import { CredentialStatus, ProofQuery, RevocationStatus, W3CCredential, } from '../types'; +import { getItemFromStore, setItemInStore } from '../rpc'; import { StandardJSONCredentialsQueryFilter } from './json-query-helpers'; import { getCoreClaimFromProof } from './proof-helpers'; +import { + getDecryptedCredentials, + saveEncryptedCredentials, +} from './ceramic-helpers'; +import { uniqBy } from './common-helpers'; -export const saveCredential = async ( - key: string, - value: W3CCredential, +export const saveCredentials = async ( + credentials: W3CCredential[], keyName = 'id' as keyof W3CCredential, ): Promise => { - const data = (await getItemFromStore( - StorageKeys.credentials, - )) as W3CCredential[]; - const items = data || []; - - const itemIndex = items.findIndex((i) => i[keyName] === key); - if (itemIndex === -1) { - items.push(value); - } else { - items[itemIndex] = value; - } - await setItemInStore(StorageKeys.credentials, items); + const data = await getDecryptedCredentials(); + const items = uniqBy([...credentials, ...data], keyName); + await saveEncryptedCredentials(items); }; -export const saveCredentials = async ( - value: W3CCredential[], - keyName = 'id' as keyof W3CCredential, -): Promise => { - for (const credential of value) { - await saveCredential(credential.id, credential, keyName); +export const moveStoreVCtoCeramic = async () => { + const credentials = (await getItemFromStore(StorageKeys.credentials)) || []; + if (credentials.length) { + await saveCredentials(credentials); + await setItemInStore(StorageKeys.credentials, []); } }; @@ -42,7 +36,7 @@ export const findCredentialsByQuery = async ( query: ProofQuery, ): Promise => { const filters = StandardJSONCredentialsQueryFilter(query); - const credentials = (await getItemFromStore(StorageKeys.credentials)) || []; + const credentials = await getDecryptedCredentials(); return credentials.filter((credential: W3CCredential) => filters.every((filter) => filter.execute(credential)), ); diff --git a/packages/snap/src/helpers/index.ts b/packages/snap/src/helpers/index.ts index 0fda557e..10ff697f 100644 --- a/packages/snap/src/helpers/index.ts +++ b/packages/snap/src/helpers/index.ts @@ -5,5 +5,4 @@ export * from './credential-helpers'; export * from './json-query-helpers'; export * from './proof-helpers'; export * from './model-helpers'; -export * from './backup-helpers'; export * from './common-helpers'; diff --git a/packages/snap/src/index.ts b/packages/snap/src/index.ts index 91627a8f..5263d9ed 100644 --- a/packages/snap/src/index.ts +++ b/packages/snap/src/index.ts @@ -17,14 +17,13 @@ import { import { AuthZkp } from './auth-zkp'; import { checkIfStateSynced, - exportKeysAndCredentials, findCredentialsByQuery, getCoreOperationByIndex, getHostname, getProviderChainInfo, getRarimoCoreUrl, - importKeysAndCredentials, loadDataFromRarimoCore, + moveStoreVCtoCeramic, saveCredentials, } from './helpers'; import { ZkpGen } from './zkp-gen'; @@ -33,11 +32,16 @@ import { isValidSaveCredentialsOfferRequest, } from './typia-generated'; import { GET_CREDENTIALS_SUPPORTED_HOSTNAMES } from './config'; +import { getDecryptedCredentials } from './helpers/ceramic-helpers'; export const onRpcRequest: OnRpcRequestHandler = async ({ request, origin, }): Promise => { + if (request.method !== RPCMethods.CreateIdentity) { + await moveStoreVCtoCeramic(); + } + switch (request.method) { case RPCMethods.SaveCredentials: { const identityStorage = await getItemFromStore(StorageKeys.identity); @@ -259,66 +263,6 @@ export const onRpcRequest: OnRpcRequestHandler = async ({ throw new Error('User rejected request'); } - case RPCMethods.CreateBackup: { - const res = await snap.request({ - method: 'snap_dialog', - params: { - type: 'confirmation', - content: panel([ - heading('Export keys and credentials'), - divider(), - text('Backup provides full access to your snap'), - text('Do not share this with anyone'), - text('Make sure no one is looking at your screen'), - divider(), - text('Would you like to export keys and credentials?'), - ]), - }, - }); - - if (res) { - const data = await exportKeysAndCredentials(); - - snap.request({ - method: 'snap_dialog', - params: { - type: 'alert', - content: panel([ - heading('Keys and credentials'), - divider(), - copyable(data), - ]), - }, - }); - - return true; - } - throw new Error('User rejected request'); - } - - case RPCMethods.RecoverBackup: { - const res = await snap.request({ - method: 'snap_dialog', - params: { - type: 'prompt', - content: panel([ - heading('Recover your identity and credentials'), - divider(), - text('Your current identity will be overwritten!'), - divider(), - text('Enter your JSON string from the backup here:'), - ]), - placeholder: 'Backup data', - }, - }); - - if (res !== null) { - await importKeysAndCredentials(JSON.parse(res as string)); - return true; - } - throw new Error('User rejected request'); - } - case RPCMethods.CheckStateContractSync: { return await checkIfStateSynced(); } @@ -327,7 +271,7 @@ export const onRpcRequest: OnRpcRequestHandler = async ({ if (!GET_CREDENTIALS_SUPPORTED_HOSTNAMES.includes(getHostname(origin))) { throw new Error('This origin does not have access to credentials'); } - return (await getItemFromStore(StorageKeys.credentials)) || []; + return await getDecryptedCredentials(); } default: diff --git a/packages/snap/src/types/global-types.ts b/packages/snap/src/types/global-types.ts index 2a50d21b..f9b9257b 100644 --- a/packages/snap/src/types/global-types.ts +++ b/packages/snap/src/types/global-types.ts @@ -1,17 +1,11 @@ import { NodeType } from '@metamask/snaps-ui'; import { providers } from 'ethers'; -import { W3CCredential } from './credential-types'; export type TextField = { value: string; type: NodeType.Text; }; -export type BackupData = { - privateKey: string; - credentials: W3CCredential[]; -}; - declare global { // eslint-disable-next-line @typescript-eslint/consistent-type-definitions interface Window { diff --git a/patches/@ceramicnetwork+common+2.37.0.patch b/patches/@ceramicnetwork+common+2.37.0.patch new file mode 100644 index 00000000..4851094f --- /dev/null +++ b/patches/@ceramicnetwork+common+2.37.0.patch @@ -0,0 +1,10 @@ +diff --git a/node_modules/@ceramicnetwork/common/lib/utils/fetch-json.js b/node_modules/@ceramicnetwork/common/lib/utils/fetch-json.js +index b3f4d3f..e3ac5b8 100644 +--- a/node_modules/@ceramicnetwork/common/lib/utils/fetch-json.js ++++ b/node_modules/@ceramicnetwork/common/lib/utils/fetch-json.js +@@ -1,4 +1,4 @@ +-import fetch from 'cross-fetch'; ++import {fetch} from 'cross-fetch'; + import { mergeAbortSignals, TimedAbortSignal, abortable } from './abort-signal-utils.js'; + const DEFAULT_FETCH_TIMEOUT = 60 * 1000 * 3; + export async function fetchJson(url, opts = {}) { diff --git a/patches/cross-fetch+3.1.8.patch b/patches/cross-fetch+3.1.8.patch new file mode 100644 index 00000000..b1551846 --- /dev/null +++ b/patches/cross-fetch+3.1.8.patch @@ -0,0 +1,38 @@ +diff --git a/node_modules/cross-fetch/CHANGELOG.md b/node_modules/cross-fetch/CHANGELOG.md +deleted file mode 100644 +index 68441b59a7e15e655df99c3160b8cd0e09d9d990..0000000000000000000000000000000000000000 +diff --git a/node_modules/cross-fetch/dist/browser-ponyfill.js b/node_modules/cross-fetch/dist/browser-ponyfill.js +index f216aa35a9d32f86df5701c78cf7b039bc2cd47c..a5f764e94a12b2848dd1938b00117a8fe20614f8 100644 +--- a/node_modules/cross-fetch/dist/browser-ponyfill.js ++++ b/node_modules/cross-fetch/dist/browser-ponyfill.js +@@ -543,12 +543,22 @@ __self__.fetch.ponyfill = true; + // Remove "polyfill" property added by whatwg-fetch + delete __self__.fetch.polyfill; + // Choose between native implementation (global) or custom implementation (__self__) +-// var ctx = global.fetch ? global : __self__; +-var ctx = __self__; // this line disable service worker support temporarily +-exports = ctx.fetch // To enable: import fetch from 'cross-fetch' +-exports.default = ctx.fetch // For TypeScript consumers without esModuleInterop. +-exports.fetch = ctx.fetch // To enable: import {fetch} from 'cross-fetch' +-exports.Headers = ctx.Headers +-exports.Request = ctx.Request +-exports.Response = ctx.Response ++var ctx = global.fetch ? global : __self__; ++// var ctx = __self__; // this line disable service worker support temporarily ++// exports = ctx.fetch // To enable: import fetch from 'cross-fetch' ++// exports.default = ctx.fetch // For TypeScript consumers without esModuleInterop. ++// exports.fetch = ctx.fetch // To enable: import {fetch} from 'cross-fetch' ++// exports.Headers = ctx.Headers ++// exports.Request = ctx.Request ++// exports.Response = ctx.Response ++ ++exports = { ++ ...ctx.fetch, ++ default: ctx.fetch, ++ fetch: ctx.fetch, ++ Headers: ctx.Headers, ++ Request: ctx.Request, ++ Response: ctx.Response, ++}; ++ + module.exports = exports diff --git a/yarn.lock b/yarn.lock index 0e30305b..e5287769 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1633,6 +1633,142 @@ __metadata: languageName: node linkType: hard +"@ceramicnetwork/codecs@npm:^1.12.0": + version: 1.12.0 + resolution: "@ceramicnetwork/codecs@npm:1.12.0" + dependencies: + "@ceramicnetwork/streamid": ^2.17.0 + cartonne: ^2.1.1 + codeco: ^1.1.0 + dag-jose: ^4.0.0 + multiformats: ^11.0.1 + uint8arrays: ^4.0.3 + checksum: bf3aad251752bd0ae75c27c37593c92d19672effefbc8ce50dd97b83d08d0a59978afbe957485e051c029d723a7d5db5a3a5acf061c927779f07f09bf951ccc9 + languageName: node + linkType: hard + +"@ceramicnetwork/common@npm:^2.30.0, @ceramicnetwork/common@npm:^2.37.0": + version: 2.37.0 + resolution: "@ceramicnetwork/common@npm:2.37.0" + dependencies: + "@ceramicnetwork/codecs": ^1.12.0 + "@ceramicnetwork/streamid": ^2.17.0 + "@didtools/cacao": ^2.1.0 + "@didtools/pkh-ethereum": ^0.1.0 + "@didtools/pkh-solana": ^0.1.0 + "@didtools/pkh-stacks": ^0.1.0 + "@didtools/pkh-tezos": ^0.2.1 + "@stablelib/random": ^1.0.1 + caip: ~1.1.0 + cross-fetch: ^3.1.4 + flat: ^5.0.2 + it-first: ^1.0.7 + jet-logger: 1.2.2 + lodash.clonedeep: ^4.5.0 + logfmt: ^1.3.2 + multiformats: ^11.0.1 + rxjs: ^7.5.2 + uint8arrays: ^4.0.3 + checksum: 14abbb35b5321e5508311e8ce0bb7dec764133f344678ce25b3bd14f7026435b667e9921058290b1bb6a9a0c1d32d15dbf096aa96878d233e280d33ec4192270 + languageName: node + linkType: hard + +"@ceramicnetwork/http-client@npm:2.27.0": + version: 2.27.0 + resolution: "@ceramicnetwork/http-client@npm:2.27.0" + dependencies: + "@ceramicnetwork/common": ^2.30.0 + "@ceramicnetwork/stream-caip10-link": ^2.25.0 + "@ceramicnetwork/stream-model": ^1.12.0 + "@ceramicnetwork/stream-model-instance": ^1.12.0 + "@ceramicnetwork/stream-tile": ^2.26.0 + "@ceramicnetwork/streamid": ^2.17.0 + "@scarf/scarf": ^1.1.1 + query-string: ^7.1.0 + rxjs: ^7.5.2 + checksum: f1ce5ddfb8a3db6fc20b8187f9914615df23a389a495294430f819668f4d41c14b2fd5e6e9ce4849488d81021ba31fbbe97e2f825b9444d1bb73d04e22b73589 + languageName: node + linkType: hard + +"@ceramicnetwork/stream-caip10-link@npm:^2.25.0": + version: 2.32.0 + resolution: "@ceramicnetwork/stream-caip10-link@npm:2.32.0" + dependencies: + "@ceramicnetwork/common": ^2.37.0 + "@ceramicnetwork/streamid": ^2.17.0 + caip: ~1.1.0 + did-resolver: ^4.0.1 + lodash.clonedeep: ^4.5.0 + checksum: 488546f1e187dc432872a3a6e86aae214186b623c0a21ba1110d9f26694e57c83821b0449e912c722def048cb0eb1b648288d275302e6e285d0f405979ce2787 + languageName: node + linkType: hard + +"@ceramicnetwork/stream-model-instance@npm:^1.12.0": + version: 1.19.0 + resolution: "@ceramicnetwork/stream-model-instance@npm:1.19.0" + dependencies: + "@ceramicnetwork/common": ^2.37.0 + "@ceramicnetwork/streamid": ^2.17.0 + "@ipld/dag-cbor": ^7.0.0 + "@stablelib/random": ^1.0.1 + fast-json-patch: ^3.1.0 + object-sizeof: ^2.6.1 + uint8arrays: ^4.0.3 + checksum: 1f1acf375833a895cffb82395e9dce3083756ac3d06a9fad0d3ad119f7a627cd0d4ea5ebfdc65096072b4455eea4454c0d905c5cddaafb95d7d88d89b92d95c3 + languageName: node + linkType: hard + +"@ceramicnetwork/stream-model@npm:^1.12.0": + version: 1.19.0 + resolution: "@ceramicnetwork/stream-model@npm:1.19.0" + dependencies: + "@ceramicnetwork/codecs": ^1.12.0 + "@ceramicnetwork/common": ^2.37.0 + "@ceramicnetwork/streamid": ^2.17.0 + "@ipld/dag-cbor": ^7.0.0 + "@stablelib/random": ^1.0.1 + ajv: ^8.8.2 + ajv-formats: ^2.1.1 + codeco: ^1.1.0 + fast-json-patch: ^3.1.0 + json-schema-typed: ^8.0.1 + multiformats: ^11.0.1 + uint8arrays: ^4.0.3 + checksum: d20f8c94368a0871d9e669780494e4015edcb91b98e2cf44fb4cce8488a713fee5d51338b1159a351a4cdcee52f2c60176982ba42f9b7ba4b271c0cd43c10ebf + languageName: node + linkType: hard + +"@ceramicnetwork/stream-tile@npm:^2.2.2, @ceramicnetwork/stream-tile@npm:^2.26.0": + version: 2.33.0 + resolution: "@ceramicnetwork/stream-tile@npm:2.33.0" + dependencies: + "@ceramicnetwork/common": ^2.37.0 + "@ceramicnetwork/streamid": ^2.17.0 + "@ipld/dag-cbor": ^7.0.0 + "@stablelib/random": ^1.0.1 + dids: ^4.0.0 + fast-json-patch: ^3.1.0 + lodash.clonedeep: ^4.5.0 + uint8arrays: ^4.0.3 + checksum: db04cd2ecefef1f68ba67ba4270a95b82eb8e1d1e91858f0d3ad30ec69046cedeb26f3d2e9b1de62121fdb3c56fb66bd24ab3805746564d27737870635023d02 + languageName: node + linkType: hard + +"@ceramicnetwork/streamid@npm:^2.1.0, @ceramicnetwork/streamid@npm:^2.17.0": + version: 2.17.0 + resolution: "@ceramicnetwork/streamid@npm:2.17.0" + dependencies: + "@ipld/dag-cbor": ^7.0.0 + "@stablelib/sha256": ^1.0.1 + cborg: ^1.10.2 + mapmoize: ^1.2.1 + multiformats: ^11.0.1 + uint8arrays: ^4.0.3 + varint: ^6.0.0 + checksum: 832eb758d2add8d1fc046e0798ce915d8020b49601acc68252d512798ec95fa2479a3be9f8cc467eaa9d9fbba736c7b5c1483b27d4bbbcbee86a7a076eb9f810 + languageName: node + linkType: hard + "@chakra-ui/accordion@npm:2.3.1": version: 2.3.1 resolution: "@chakra-ui/accordion@npm:2.3.1" @@ -2825,6 +2961,107 @@ __metadata: languageName: node linkType: hard +"@didtools/cacao@npm:^2.0.0, @didtools/cacao@npm:^2.1.0": + version: 2.1.0 + resolution: "@didtools/cacao@npm:2.1.0" + dependencies: + "@didtools/codecs": ^1.0.1 + "@didtools/siwx": 1.0.0 + "@ipld/dag-cbor": ^9.0.1 + caip: ^1.1.0 + multiformats: ^11.0.2 + uint8arrays: ^4.0.3 + checksum: 49794ec1a1f5ce0f7d7bffe4729c7a6d2d229ca84309b6ce32ddba6123b41a1dd78509712000933ac649f37bed5770e1f7ea07741e8971867b242a0eb7f4ae29 + languageName: node + linkType: hard + +"@didtools/codecs@npm:^1.0.1": + version: 1.0.1 + resolution: "@didtools/codecs@npm:1.0.1" + dependencies: + codeco: ^1.1.0 + multiformats: ^11.0.1 + uint8arrays: ^4.0.3 + checksum: b37fac2913205ae16ac85c874eec4ecadf2183ffe892bd13dfbfdb339d960a35c3fad2dd2c2ea6ebe32a86cfa42a20dd0f47276d09a0db1d002b2aa87d3f749e + languageName: node + linkType: hard + +"@didtools/pkh-ethereum@npm:^0.1.0": + version: 0.1.0 + resolution: "@didtools/pkh-ethereum@npm:0.1.0" + dependencies: + "@didtools/cacao": ^2.0.0 + "@ethersproject/wallet": ^5.7.0 + "@stablelib/random": ^1.0.2 + caip: ^1.1.0 + checksum: abc0628d7c9e75dd2c9f0d3298df212620d61d827ad483cdefc78d0bf294b16fa688da4063300a79826871b373b5dbb934db80d3a07ac8b9a72245fc84594dfe + languageName: node + linkType: hard + +"@didtools/pkh-ethereum@npm:^0.4.1": + version: 0.4.1 + resolution: "@didtools/pkh-ethereum@npm:0.4.1" + dependencies: + "@didtools/cacao": ^2.1.0 + "@noble/curves": ^1.1.0 + "@noble/hashes": ^1.3.1 + "@stablelib/random": ^1.0.2 + caip: ^1.1.0 + checksum: a2cb1f3f761b6f9a6926d9b508e9d89b9ee98a22eb356541f0e4e4461dba09dc951f42cf3e88c126b7f08ef7efb543a4f262532b7b56bf843d6db348253d6073 + languageName: node + linkType: hard + +"@didtools/pkh-solana@npm:^0.1.0": + version: 0.1.1 + resolution: "@didtools/pkh-solana@npm:0.1.1" + dependencies: + "@didtools/cacao": ^2.0.0 + "@noble/curves": ^1.0.0 + "@stablelib/random": ^1.0.2 + caip: ^1.1.0 + uint8arrays: ^4.0.3 + checksum: 0ff248a3cb92d598a379ce91f853acd35ab1972de75e256c3d4cc9bc1c62cd5a0ae88613e0560995079f4576e99bc49ff0f129b9ab1f537b93366750b845e664 + languageName: node + linkType: hard + +"@didtools/pkh-stacks@npm:^0.1.0": + version: 0.1.0 + resolution: "@didtools/pkh-stacks@npm:0.1.0" + dependencies: + "@didtools/cacao": ^2.0.0 + "@stablelib/random": ^1.0.2 + "@stacks/common": ^6.0.0 + "@stacks/encryption": ^6.2.0 + "@stacks/transactions": ^6.2.0 + caip: ^1.1.0 + jsontokens: ^4.0.1 + checksum: 451e4c40e7fafefd0693a9e430730cb661cabf3b4f6343418ebdf79c7ca718274c86c9e88ea2e79585214e2a53773a04151c2c9f0d6590d636cbb8fa0ee2a8d1 + languageName: node + linkType: hard + +"@didtools/pkh-tezos@npm:^0.2.1": + version: 0.2.2 + resolution: "@didtools/pkh-tezos@npm:0.2.2" + dependencies: + "@didtools/cacao": ^2.0.0 + "@noble/curves": ^1.0.0 + "@noble/hashes": ^1.3.0 + "@stablelib/random": ^1.0.2 + caip: ^1.1.0 + uint8arrays: ^4.0.3 + checksum: 7cc943894ebc4aeffcab1ffdb8a0e0bd7d71de867cc99b5daa5e868a9b2959da43a50e1dc8f56fe7a0ef9a603cc782bc19023b6b49e45f607f13181b9881c3a6 + languageName: node + linkType: hard + +"@didtools/siwx@npm:1.0.0": + version: 1.0.0 + resolution: "@didtools/siwx@npm:1.0.0" + dependencies: + codeco: ^1.1.0 + checksum: 25a2a884090353d695fb36fb4c7afb0c8e3e0458699236ae15bfbc260671829af5c00264644fb242f42a7264c4d8ad17bdc157fcf26e56aca1a86c8f0cb49416 + languageName: node + linkType: hard + "@digitalbazaar/http-client@npm:^3.2.0": version: 3.4.1 resolution: "@digitalbazaar/http-client@npm:3.4.1" @@ -3641,7 +3878,7 @@ __metadata: languageName: node linkType: hard -"@ethersproject/wallet@npm:5.7.0": +"@ethersproject/wallet@npm:5.7.0, @ethersproject/wallet@npm:^5.7.0": version: 5.7.0 resolution: "@ethersproject/wallet@npm:5.7.0" dependencies: @@ -3734,6 +3971,44 @@ __metadata: languageName: node linkType: hard +"@glazed/constants@npm:^0.2.0": + version: 0.2.0 + resolution: "@glazed/constants@npm:0.2.0" + checksum: 512d3f93a6cace154c2197ad121ad6d5e95c62fdb4444b2d19d38008aea12d1551fea691a892a36a385715ed1037db242ffbc4176ac358ae97ad5b6283f1de6e + languageName: node + linkType: hard + +"@glazed/datamodel@npm:^0.3.1": + version: 0.3.1 + resolution: "@glazed/datamodel@npm:0.3.1" + dependencies: + "@glazed/tile-loader": ^0.2.1 + checksum: f9d877bd231f98af2c10f81da4e5c976029e0b351c7aabdcb5abb4d506d401d96b888b10a6f38c9ec8b62c26e88a92659d852ba94e41dd7e5fad75cbf2640fcb + languageName: node + linkType: hard + +"@glazed/did-datastore@npm:0.3.2": + version: 0.3.2 + resolution: "@glazed/did-datastore@npm:0.3.2" + dependencies: + "@ceramicnetwork/streamid": ^2.1.0 + "@glazed/constants": ^0.2.0 + "@glazed/datamodel": ^0.3.1 + "@glazed/tile-loader": ^0.2.1 + checksum: 2d6d99468d7c84dadf4e710f0638cca5b8455565b573e018f34af9a8a8d6da0c7133d85c124877123bfe765bd23a0c8a861e5a06b999d9ed2fd7defb35776ff7 + languageName: node + linkType: hard + +"@glazed/tile-loader@npm:^0.2.1": + version: 0.2.1 + resolution: "@glazed/tile-loader@npm:0.2.1" + dependencies: + "@ceramicnetwork/stream-tile": ^2.2.2 + dataloader: ^2.1.0 + checksum: e0e607968db23fd3e4d30004e2dea9b2f0aa3d1e0df0affb9f4fdd349674fbb10e9f5e3f29f3cec3014b43c7f830859a4611622e61a6be3fea50f3f6170911a8 + languageName: node + linkType: hard + "@graphql-codegen/add@npm:^3.1.1": version: 3.2.3 resolution: "@graphql-codegen/add@npm:3.2.3" @@ -4152,6 +4427,26 @@ __metadata: languageName: node linkType: hard +"@ipld/dag-cbor@npm:^7.0.0, @ipld/dag-cbor@npm:^7.0.1": + version: 7.0.3 + resolution: "@ipld/dag-cbor@npm:7.0.3" + dependencies: + cborg: ^1.6.0 + multiformats: ^9.5.4 + checksum: c0c59907ab6146a214c1ecb2341cc02904bc952255e15544554990690f7841380a87636d5937aaa23e9004b1c141e90238277d088ed6932b5b0e6d2e6ee1fe02 + languageName: node + linkType: hard + +"@ipld/dag-cbor@npm:^9.0.0, @ipld/dag-cbor@npm:^9.0.1": + version: 9.0.6 + resolution: "@ipld/dag-cbor@npm:9.0.6" + dependencies: + cborg: ^4.0.0 + multiformats: ^12.0.1 + checksum: 4c6f1ef0d91e8cf98bf7df3b029bc7f69d9e8e97fe2a60f80d27734f4be764691b8d63c3b1ed2d9cd0c5ea62c1bcc834a102e166299ea6472cbae4cb36a9c348 + languageName: node + linkType: hard + "@isaacs/cliui@npm:^8.0.2": version: 8.0.2 resolution: "@isaacs/cliui@npm:8.0.2" @@ -5559,6 +5854,13 @@ __metadata: languageName: node linkType: hard +"@noble/ciphers@npm:^0.4.0": + version: 0.4.0 + resolution: "@noble/ciphers@npm:0.4.0" + checksum: 48df88d1f58662357c11ed2aeaba3de62c9881da15a76a8827e7330a0807586e736fe39ec9aa5e7277b37991f9fce059187d796a7b065b5a022151639a49c2d5 + languageName: node + linkType: hard + "@noble/curves@npm:1.1.0, @noble/curves@npm:~1.1.0": version: 1.1.0 resolution: "@noble/curves@npm:1.1.0" @@ -5568,6 +5870,15 @@ __metadata: languageName: node linkType: hard +"@noble/curves@npm:^1.0.0, @noble/curves@npm:^1.1.0": + version: 1.2.0 + resolution: "@noble/curves@npm:1.2.0" + dependencies: + "@noble/hashes": 1.3.2 + checksum: bb798d7a66d8e43789e93bc3c2ddff91a1e19fdb79a99b86cd98f1e5eff0ee2024a2672902c2576ef3577b6f282f3b5c778bebd55761ddbb30e36bf275e83dd0 + languageName: node + linkType: hard + "@noble/ed25519@npm:^1.6.0": version: 1.7.3 resolution: "@noble/ed25519@npm:1.7.3" @@ -5575,6 +5886,13 @@ __metadata: languageName: node linkType: hard +"@noble/hashes@npm:1.1.5, @noble/hashes@npm:~1.1.1": + version: 1.1.5 + resolution: "@noble/hashes@npm:1.1.5" + checksum: de3f095a7ac1cbf5b4b3d09f193288d4f2eec35fbadf2ed9fd7e47d8a3042fef410052ba62dc0296a185f994c11192f5357fdb1bd9178c905efd82e946c53b00 + languageName: node + linkType: hard + "@noble/hashes@npm:1.3.1": version: 1.3.1 resolution: "@noble/hashes@npm:1.3.1" @@ -5582,14 +5900,14 @@ __metadata: languageName: node linkType: hard -"@noble/hashes@npm:^1.0.0, @noble/hashes@npm:^1.1.3, @noble/hashes@npm:^1.3.1, @noble/hashes@npm:~1.3.0, @noble/hashes@npm:~1.3.1, @noble/hashes@npm:~1.3.2": +"@noble/hashes@npm:1.3.2, @noble/hashes@npm:^1.0.0, @noble/hashes@npm:^1.1.2, @noble/hashes@npm:^1.1.3, @noble/hashes@npm:^1.3.0, @noble/hashes@npm:^1.3.1, @noble/hashes@npm:~1.3.0, @noble/hashes@npm:~1.3.1, @noble/hashes@npm:~1.3.2": version: 1.3.2 resolution: "@noble/hashes@npm:1.3.2" checksum: fe23536b436539d13f90e4b9be843cc63b1b17666a07634a2b1259dded6f490be3d050249e6af98076ea8f2ea0d56f578773c2197f2aa0eeaa5fba5bc18ba474 languageName: node linkType: hard -"@noble/secp256k1@npm:^1.5.5, @noble/secp256k1@npm:^1.7.1": +"@noble/secp256k1@npm:1.7.1, @noble/secp256k1@npm:^1.5.5, @noble/secp256k1@npm:^1.6.3, @noble/secp256k1@npm:^1.7.1": version: 1.7.1 resolution: "@noble/secp256k1@npm:1.7.1" checksum: d2301f1f7690368d8409a3152450458f27e54df47e3f917292de3de82c298770890c2de7c967d237eff9c95b70af485389a9695f73eb05a43e2bd562d18b18cb @@ -6286,10 +6604,12 @@ __metadata: version: 0.0.0-use.local resolution: "@rarimo/rarime@workspace:packages/snap" dependencies: + "@ceramicnetwork/http-client": 2.27.0 "@ethersproject/abi": 5.0.0 "@ethersproject/bytes": 5.7.0 "@ethersproject/keccak256": 5.7.0 "@ethersproject/providers": 5.7.2 + "@glazed/did-datastore": 0.3.2 "@iden3/js-crypto": 1.0.0-beta.1 "@iden3/js-iden3-core": 1.0.0-beta.2 "@iden3/js-jsonld-merklization": 1.0.0-beta.14 @@ -6313,6 +6633,7 @@ __metadata: "@typescript-eslint/eslint-plugin": 5.33.0 "@typescript-eslint/parser": 5.33.0 buffer: 6.0.3 + dids: 4.0.4 esbuild: 0.17.19 eslint: 8.21.0 eslint-config-prettier: 8.1.0 @@ -6324,6 +6645,8 @@ __metadata: ethers: 5.7.2 intl: 1.2.5 jest: 29.5.0 + key-did-provider-ed25519: 3.0.2 + key-did-resolver: 3.0.0 node-stdlib-browser: 1.2.0 nodemon: 2.0.20 prettier: 2.2.1 @@ -6441,7 +6764,14 @@ __metadata: languageName: node linkType: hard -"@scure/base@npm:^1.0.0, @scure/base@npm:^1.1.1, @scure/base@npm:~1.1.0, @scure/base@npm:~1.1.3": +"@scarf/scarf@npm:^1.1.1": + version: 1.3.0 + resolution: "@scarf/scarf@npm:1.3.0" + checksum: 652c1248c8e1b5a4ba64333c1b2e9847e314d4cd78beb4bab51b3825bcd2b45dc20d185d3b99b11b18753a9e64113475067852ac898910ad73aa0559e24f0d6d + languageName: node + linkType: hard + +"@scure/base@npm:^1.0.0, @scure/base@npm:^1.1.1, @scure/base@npm:^1.1.3, @scure/base@npm:~1.1.0, @scure/base@npm:~1.1.3": version: 1.1.3 resolution: "@scure/base@npm:1.1.3" checksum: 1606ab8a4db898cb3a1ada16c15437c3bce4e25854fadc8eb03ae93cbbbac1ed90655af4b0be3da37e12056fef11c0374499f69b9e658c9e5b7b3e06353c630c @@ -6459,6 +6789,16 @@ __metadata: languageName: node linkType: hard +"@scure/bip39@npm:1.1.0": + version: 1.1.0 + resolution: "@scure/bip39@npm:1.1.0" + dependencies: + "@noble/hashes": ~1.1.1 + "@scure/base": ~1.1.0 + checksum: c4361406f092a45e511dc572c89f497af6665ad81cb3fd7bf78e6772f357f7ae885e129ef0b985cb3496a460b4811318f77bc61634d9b0a8446079a801b6003c + languageName: node + linkType: hard + "@scure/bip39@npm:1.2.1": version: 1.2.1 resolution: "@scure/bip39@npm:1.2.1" @@ -6567,6 +6907,130 @@ __metadata: languageName: node linkType: hard +"@stablelib/binary@npm:^1.0.1": + version: 1.0.1 + resolution: "@stablelib/binary@npm:1.0.1" + dependencies: + "@stablelib/int": ^1.0.1 + checksum: dca9b98eb1f56a4002b5b9e7351fbc49f3d8616af87007c01e833bd763ac89214eb5f3b7e18673c91ce59d4a0e4856a2eb661ace33d39f17fb1ad267271fccd8 + languageName: node + linkType: hard + +"@stablelib/ed25519@npm:^1.0.2": + version: 1.0.3 + resolution: "@stablelib/ed25519@npm:1.0.3" + dependencies: + "@stablelib/random": ^1.0.2 + "@stablelib/sha512": ^1.0.1 + "@stablelib/wipe": ^1.0.1 + checksum: e18279de078edac67396ba07dbb862dce0fe89efa8141c21a5b04108a29914bd51636019522323ca5097ec596a90b3028ed64e88ee009b0ac7de7c1ab6499ccb + languageName: node + linkType: hard + +"@stablelib/hash@npm:^1.0.1": + version: 1.0.1 + resolution: "@stablelib/hash@npm:1.0.1" + checksum: 3ff1f12d1a4082aaf4b6cdf40c2010aabe5c4209d3b40b97b5bbb0d9abc0ee94abdc545e57de0614afaea807ca0212ac870e247ec8f66cdce91ec39ce82948cf + languageName: node + linkType: hard + +"@stablelib/int@npm:^1.0.1": + version: 1.0.1 + resolution: "@stablelib/int@npm:1.0.1" + checksum: 65bfbf50a382eea70c68e05366bf379cfceff8fbc076f1c267ef2f2411d7aed64fd140c415cb6c29f19a3910d3b8b7805d4b32ad5721a5007a8e744a808c7ae3 + languageName: node + linkType: hard + +"@stablelib/random@npm:^1.0.1, @stablelib/random@npm:^1.0.2": + version: 1.0.2 + resolution: "@stablelib/random@npm:1.0.2" + dependencies: + "@stablelib/binary": ^1.0.1 + "@stablelib/wipe": ^1.0.1 + checksum: f5ace0a588dc4c21f01cb85837892d4c872e994ae77a58a8eb7dd61aa0b26fb1e9b46b0445e71af57d963ef7d9f5965c64258fc0d04df7b2947bc48f2d3560c5 + languageName: node + linkType: hard + +"@stablelib/sha256@npm:^1.0.1": + version: 1.0.1 + resolution: "@stablelib/sha256@npm:1.0.1" + dependencies: + "@stablelib/binary": ^1.0.1 + "@stablelib/hash": ^1.0.1 + "@stablelib/wipe": ^1.0.1 + checksum: 38669871e1bda72eb537629ebceac1c72da8890273a9fbe088f81f6d14c1ec04e78be8c5b455380a06c67f8e62b2508e11e9063fcc257dbaa1b5c27ac756ba77 + languageName: node + linkType: hard + +"@stablelib/sha512@npm:^1.0.1": + version: 1.0.1 + resolution: "@stablelib/sha512@npm:1.0.1" + dependencies: + "@stablelib/binary": ^1.0.1 + "@stablelib/hash": ^1.0.1 + "@stablelib/wipe": ^1.0.1 + checksum: b7c82f7608a35948a2147a534c0c9afc80deab3fd5f72a2e27b2454e7c0c6944d39381be3abcb1b7fac5b824ba030ae3e98209d517a579c143d8ed63930b042f + languageName: node + linkType: hard + +"@stablelib/wipe@npm:^1.0.1": + version: 1.0.1 + resolution: "@stablelib/wipe@npm:1.0.1" + checksum: 287802eb146810a46ba72af70b82022caf83a8aeebde23605f5ee0decf64fe2b97a60c856e43b6617b5801287c30cfa863cfb0469e7fcde6f02d143cf0c6cbf4 + languageName: node + linkType: hard + +"@stacks/common@npm:^6.0.0, @stacks/common@npm:^6.8.1": + version: 6.8.1 + resolution: "@stacks/common@npm:6.8.1" + dependencies: + "@types/bn.js": ^5.1.0 + "@types/node": ^18.0.4 + checksum: d2d0de187555b65b3ffd3d8759c2239da10f92765d3011e79b39e9849cbaa37c4fbbc4d98ee7c83c5e537f4096e4a5a15aa3fcc1a7026df7c0c7c4be413fd6b0 + languageName: node + linkType: hard + +"@stacks/encryption@npm:^6.2.0": + version: 6.9.0 + resolution: "@stacks/encryption@npm:6.9.0" + dependencies: + "@noble/hashes": 1.1.5 + "@noble/secp256k1": 1.7.1 + "@scure/bip39": 1.1.0 + "@stacks/common": ^6.8.1 + "@types/node": ^18.0.4 + base64-js: ^1.5.1 + bs58: ^5.0.0 + ripemd160-min: ^0.0.6 + varuint-bitcoin: ^1.1.2 + checksum: 5b6c0bde7aff185b54c8f125fc4fb10dbc92cbd10fe7e9f52bc72a6a46a4d212906574e2d631d91c3561701305801cd93eda7d455462884e162f046ac3a2120d + languageName: node + linkType: hard + +"@stacks/network@npm:^6.8.1": + version: 6.8.1 + resolution: "@stacks/network@npm:6.8.1" + dependencies: + "@stacks/common": ^6.8.1 + cross-fetch: ^3.1.5 + checksum: dc064ed6f44056f014587df0500cc0cb1834f66fd2545dbefd94ec4dc42b0ab428ac0dbfd72f1e71b74468d51471724c5e2d5a1d555c4252b004b3a4bd2a4db3 + languageName: node + linkType: hard + +"@stacks/transactions@npm:^6.2.0": + version: 6.9.0 + resolution: "@stacks/transactions@npm:6.9.0" + dependencies: + "@noble/hashes": 1.1.5 + "@noble/secp256k1": 1.7.1 + "@stacks/common": ^6.8.1 + "@stacks/network": ^6.8.1 + c32check: ^2.0.0 + lodash.clonedeep: ^4.5.0 + checksum: 307dd1a3e9934138402f8d02ec6b04f08cb7d86139d36d72200e51ad32d3f71416e6d4682ecb5fc779f51a2dfd990390819b2c1b0fbed061d4a6349dd8fad0a4 + languageName: node + linkType: hard + "@svgr/babel-plugin-add-jsx-attribute@npm:^6.5.1": version: 6.5.1 resolution: "@svgr/babel-plugin-add-jsx-attribute@npm:6.5.1" @@ -7357,6 +7821,13 @@ __metadata: languageName: node linkType: hard +"@types/node@npm:^18.0.4": + version: 18.18.6 + resolution: "@types/node@npm:18.18.6" + checksum: a847639b8455fd3dfa6dbc2917274c82c9db789f1d41aaf69f94ac6c9e54c3c1dd29be6e1e1ccd7c17e54db3d78d7011bc4e70544c6447ceca253dccc0a187e1 + languageName: node + linkType: hard + "@types/node@npm:^8.5.7": version: 8.10.66 resolution: "@types/node@npm:8.10.66" @@ -8361,6 +8832,20 @@ __metadata: languageName: node linkType: hard +"ajv-formats@npm:^2.1.1": + version: 2.1.1 + resolution: "ajv-formats@npm:2.1.1" + dependencies: + ajv: ^8.0.0 + peerDependencies: + ajv: ^8.0.0 + peerDependenciesMeta: + ajv: + optional: true + checksum: 4a287d937f1ebaad4683249a4c40c0fa3beed30d9ddc0adba04859026a622da0d317851316ea64b3680dc60f5c3c708105ddd5d5db8fe595d9d0207fd19f90b7 + languageName: node + linkType: hard + "ajv-keywords@npm:^3.4.1, ajv-keywords@npm:^3.5.2": version: 3.5.2 resolution: "ajv-keywords@npm:3.5.2" @@ -8382,7 +8867,7 @@ __metadata: languageName: node linkType: hard -"ajv@npm:^8.0.1": +"ajv@npm:^8.0.0, ajv@npm:^8.0.1, ajv@npm:^8.8.2": version: 8.12.0 resolution: "ajv@npm:8.12.0" dependencies: @@ -9305,6 +9790,13 @@ __metadata: languageName: node linkType: hard +"base-x@npm:^4.0.0": + version: 4.0.0 + resolution: "base-x@npm:4.0.0" + checksum: b25db9e07eb1998472a20557c7f00c797dc0595f79df95155ab74274e7fa98b9f2659b3ee547ac8773666b7f69540656793aeb97ad2b1ceccdb6fa5faaf69ac0 + languageName: node + linkType: hard + "base58-js@npm:^1.0.0, base58-js@npm:^1.0.4": version: 1.0.5 resolution: "base58-js@npm:1.0.5" @@ -9319,7 +9811,7 @@ __metadata: languageName: node linkType: hard -"base64-js@npm:^1.0.2, base64-js@npm:^1.3.1": +"base64-js@npm:^1.0.2, base64-js@npm:^1.3.1, base64-js@npm:^1.5.1": version: 1.5.1 resolution: "base64-js@npm:1.5.1" checksum: 669632eb3745404c2f822a18fc3a0122d2f9a7a13f7fb8b5823ee19d1d2ff9ee5b52c53367176ea4ad093c332fd5ab4bd0ebae5a8e27917a4105a4cfc86b1005 @@ -9392,6 +9884,13 @@ __metadata: languageName: node linkType: hard +"bigint-mod-arith@npm:^3.1.0": + version: 3.3.1 + resolution: "bigint-mod-arith@npm:3.3.1" + checksum: 23f2fc67611cf99ce9c3b6f386cb50a363a467204f088f8fbda76def4642aaf0c41aced1f46521b1a52d25b492c9558d4cef1b807e16fbf9535700a4e8909c32 + languageName: node + linkType: hard + "binary-extensions@npm:^2.0.0": version: 2.2.0 resolution: "binary-extensions@npm:2.2.0" @@ -9775,6 +10274,15 @@ __metadata: languageName: node linkType: hard +"bs58@npm:^5.0.0": + version: 5.0.0 + resolution: "bs58@npm:5.0.0" + dependencies: + base-x: ^4.0.0 + checksum: 2475cb0684e07077521aac718e604a13e0f891d58cff923d437a2f7e9e28703ab39fce9f84c7c703ab369815a675f11e3bd394d38643bfe8969fbe42e6833d45 + languageName: node + linkType: hard + "bs58check@npm:^2.1.2": version: 2.1.2 resolution: "bs58check@npm:2.1.2" @@ -9899,6 +10407,16 @@ __metadata: languageName: node linkType: hard +"c32check@npm:^2.0.0": + version: 2.0.0 + resolution: "c32check@npm:2.0.0" + dependencies: + "@noble/hashes": ^1.1.2 + base-x: ^4.0.0 + checksum: af555f5d5cb14780936ea2f055d0013f57046200483c53b992e64ce8b2ef7041f66cd81e873b2a2f5bb5e863033a9f4c3877e254e8d6db9a9a55cd9d1c61d9b2 + languageName: node + linkType: hard + "cacache@npm:^17.0.0": version: 17.1.4 resolution: "cacache@npm:17.1.4" @@ -9996,6 +10514,13 @@ __metadata: languageName: node linkType: hard +"caip@npm:^1.1.0, caip@npm:~1.1.0": + version: 1.1.0 + resolution: "caip@npm:1.1.0" + checksum: 9c56d919941672e6e4676e539a808f7da64df6a3b31befdbcad551ac83d02a9dd2827d27be863db6e448a6a32563d1934da0d273e36d873c5e4db456ee0dca74 + languageName: node + linkType: hard + "call-bind@npm:^1.0.0, call-bind@npm:^1.0.2": version: 1.0.2 resolution: "call-bind@npm:1.0.2" @@ -10070,6 +10595,13 @@ __metadata: languageName: node linkType: hard +"canonicalize@npm:^2.0.0": + version: 2.0.0 + resolution: "canonicalize@npm:2.0.0" + checksum: 541dee6e53c06e81b11241eba76197b6837b3e2a5951a175f57d75eb4c59599ec68566ee88aa2fb3dac6e6ca57d674ca3c0d9c75a855176ce78f0555b26caf39 + languageName: node + linkType: hard + "capital-case@npm:^1.0.4": version: 1.0.4 resolution: "capital-case@npm:1.0.4" @@ -10081,6 +10613,18 @@ __metadata: languageName: node linkType: hard +"cartonne@npm:^2.1.1": + version: 2.2.0 + resolution: "cartonne@npm:2.2.0" + dependencies: + "@ipld/dag-cbor": ^9.0.0 + multiformats: ^11.0.2 + multihashes-sync: ^1.1.1 + varintes: ^2.0.4 + checksum: 171be4aaf18d35d60241d86a706eca17a7c829f62d889283a991b2ba8b73c0f2f5b969a7ca8701544472bc38837c45d1225ebf26eef4ff2b0baa3e083bf7813a + languageName: node + linkType: hard + "caseless@npm:~0.12.0": version: 0.12.0 resolution: "caseless@npm:0.12.0" @@ -10088,6 +10632,24 @@ __metadata: languageName: node linkType: hard +"cborg@npm:^1.10.2, cborg@npm:^1.6.0": + version: 1.10.2 + resolution: "cborg@npm:1.10.2" + bin: + cborg: cli.js + checksum: 7743a8f125046ac27fb371c4ea18af54fbe853f7210f1ffacc6504a79566480c39d52ac4fbc1a5b5155e27b13c3b58955dc29db1bf20c4d651549d55fec2fa7f + languageName: node + linkType: hard + +"cborg@npm:^4.0.0": + version: 4.0.5 + resolution: "cborg@npm:4.0.5" + bin: + cborg: lib/bin.js + checksum: 22d43c6cdb95fb6f4db7ad357e121a72a1495cb3ce3cce577ab61494d709154679cf6452834f364d83ebe12672c859845cd35e1252f5f4f505ff96a2b5528ef3 + languageName: node + linkType: hard + "chainsaw@npm:~0.1.0": version: 0.1.0 resolution: "chainsaw@npm:0.1.0" @@ -10466,6 +11028,13 @@ __metadata: languageName: node linkType: hard +"codeco@npm:^1.1.0": + version: 1.2.0 + resolution: "codeco@npm:1.2.0" + checksum: 11db1e2fa107168c15bf2a30843bb62f1a057007871cf7a4905f527cbe82623811784d14fc48e8b687283c02a630052650c4e49d16f140fd906e203a6d18f435 + languageName: node + linkType: hard + "collect-v8-coverage@npm:^1.0.0": version: 1.0.2 resolution: "collect-v8-coverage@npm:1.0.2" @@ -10555,6 +11124,13 @@ __metadata: languageName: node linkType: hard +"colors@npm:1.3.0": + version: 1.3.0 + resolution: "colors@npm:1.3.0" + checksum: b631fa963dc786031e549cf0f88cfebdffdbd071976aa7ed913b144b00bbe223b97b6b893b6d76173a30f896c7e38bc45dc9f95f5445b638f58752e0c2a13d41 + languageName: node + linkType: hard + "combine-source-map@npm:^0.8.0, combine-source-map@npm:~0.8.0": version: 0.8.0 resolution: "combine-source-map@npm:0.8.0" @@ -11123,7 +11699,7 @@ __metadata: languageName: node linkType: hard -"cross-fetch@npm:^3.0.6, cross-fetch@npm:^3.1.5": +"cross-fetch@npm:^3.0.6, cross-fetch@npm:^3.1.4, cross-fetch@npm:^3.1.5": version: 3.1.8 resolution: "cross-fetch@npm:3.1.8" dependencies: @@ -11434,6 +12010,26 @@ __metadata: languageName: node linkType: hard +"dag-jose-utils@npm:^3.0.0": + version: 3.0.0 + resolution: "dag-jose-utils@npm:3.0.0" + dependencies: + "@ipld/dag-cbor": ^7.0.1 + multiformats: ^11.0.1 + checksum: 598b5c10b1468c1cc928a94a5c69d7de8c611dd7208e856070667f8b0ed0adc5d8ef26770fd8ab459639be705866815ff6f8414b2de01a79a2c898001897f01e + languageName: node + linkType: hard + +"dag-jose@npm:^4.0.0": + version: 4.0.0 + resolution: "dag-jose@npm:4.0.0" + dependencies: + "@ipld/dag-cbor": ^9.0.0 + multiformats: ^11.0.0 + checksum: 1d7c2620cf78132617dc6fa7c44417d0b88f95f469492b72d776b70bf6b8170f47f06aa67dde3b09796908fec3d5277db7e0329e400a8155ec4630e90d8c1812 + languageName: node + linkType: hard + "damerau-levenshtein@npm:^1.0.8": version: 1.0.8 resolution: "damerau-levenshtein@npm:1.0.8" @@ -11471,6 +12067,13 @@ __metadata: languageName: node linkType: hard +"dataloader@npm:^2.1.0": + version: 2.2.2 + resolution: "dataloader@npm:2.2.2" + checksum: 4dabd247089c29f194e94d5434d504f99156c5c214a03463c20f3f17f40398d7e179edee69a27c16e315519ac8739042a810090087ae26449a0e685156a02c65 + languageName: node + linkType: hard + "date-fns@npm:^2.25.0, date-fns@npm:^2.30.0": version: 2.30.0 resolution: "date-fns@npm:2.30.0" @@ -11531,7 +12134,7 @@ __metadata: languageName: node linkType: hard -"decode-uri-component@npm:^0.2.0": +"decode-uri-component@npm:^0.2.0, decode-uri-component@npm:^0.2.2": version: 0.2.2 resolution: "decode-uri-component@npm:0.2.2" checksum: 95476a7d28f267292ce745eac3524a9079058bbb35767b76e3ee87d42e34cd0275d2eb19d9d08c3e167f97556e8a2872747f5e65cbebcac8b0c98d83e285f139 @@ -11907,6 +12510,48 @@ __metadata: languageName: node linkType: hard +"did-jwt@npm:^7.2.0": + version: 7.4.4 + resolution: "did-jwt@npm:7.4.4" + dependencies: + "@noble/ciphers": ^0.4.0 + "@noble/curves": ^1.0.0 + "@noble/hashes": ^1.3.0 + "@scure/base": ^1.1.3 + canonicalize: ^2.0.0 + did-resolver: ^4.1.0 + multiformats: ^12.0.0 + uint8arrays: ^4.0.3 + checksum: 09e1625737ca8d2134c78afcf6dee85b3bad28ea5705c9e8af55f567a26dca30e2bb55c2be45a29957b44824af45d462a7c75ce535aeed5f618bdaf2df9cfab3 + languageName: node + linkType: hard + +"did-resolver@npm:^4.0.1, did-resolver@npm:^4.1.0": + version: 4.1.0 + resolution: "did-resolver@npm:4.1.0" + checksum: 0b0f6c3502f877c2a3cb264befc2718b12efa8e7d39ef255b00cd79f8fe12303257ac8e84a030a49599415bce87192fef29388d9f695776d331d0139848d3d4c + languageName: node + linkType: hard + +"dids@npm:4.0.4, dids@npm:^4.0.0, dids@npm:^4.0.4": + version: 4.0.4 + resolution: "dids@npm:4.0.4" + dependencies: + "@didtools/cacao": ^2.1.0 + "@didtools/codecs": ^1.0.1 + "@didtools/pkh-ethereum": ^0.4.1 + "@stablelib/random": ^1.0.1 + codeco: ^1.1.0 + dag-jose-utils: ^3.0.0 + did-jwt: ^7.2.0 + did-resolver: ^4.1.0 + multiformats: ^11.0.2 + rpc-utils: ^0.6.1 + uint8arrays: ^4.0.3 + checksum: 02a04165954d800ccd9a246fc80b20f064f12251f176f4766b77edd2f1275d83ab39edd73275b5e3f22e240b2001f1ebe8a40528f48155a98510c386027b22b8 + languageName: node + linkType: hard + "diff-sequences@npm:^27.5.1": version: 27.5.1 resolution: "diff-sequences@npm:27.5.1" @@ -13668,6 +14313,13 @@ __metadata: languageName: node linkType: hard +"fast-json-patch@npm:^3.1.0": + version: 3.1.1 + resolution: "fast-json-patch@npm:3.1.1" + checksum: c4525b61b2471df60d4b025b4118b036d99778a93431aa44d1084218182841d82ce93056f0f3bbd731a24e6a8e69820128adf1873eb2199a26c62ef58d137833 + languageName: node + linkType: hard + "fast-json-stable-stringify@npm:2.x, fast-json-stable-stringify@npm:^2.0.0, fast-json-stable-stringify@npm:^2.1.0": version: 2.1.0 resolution: "fast-json-stable-stringify@npm:2.1.0" @@ -16815,6 +17467,13 @@ __metadata: languageName: node linkType: hard +"it-first@npm:^1.0.7": + version: 1.0.7 + resolution: "it-first@npm:1.0.7" + checksum: 0c9106d29120f02e68a08118de328437fb44c966385635d672684d4f0321ee22ca470a30f390132bdb454da0d4d3abb82c796dad8e391a827f1a3446711c7685 + languageName: node + linkType: hard + "iterator.prototype@npm:^1.1.2": version: 1.1.2 resolution: "iterator.prototype@npm:1.1.2" @@ -17347,6 +18006,15 @@ __metadata: languageName: node linkType: hard +"jet-logger@npm:1.2.2": + version: 1.2.2 + resolution: "jet-logger@npm:1.2.2" + dependencies: + colors: 1.3.0 + checksum: 38ef3cfef2416c1b04fbde1c827d335412e04ed9403272d396310cd472d996571b8f08d277d9c6614651d8952cc721adfc6892610d87efbf710474c903501645 + languageName: node + linkType: hard + "joi@npm:^17.4.2": version: 17.11.0 resolution: "joi@npm:17.11.0" @@ -17530,6 +18198,13 @@ __metadata: languageName: node linkType: hard +"json-schema-typed@npm:^8.0.1": + version: 8.0.1 + resolution: "json-schema-typed@npm:8.0.1" + checksum: c7d47c05553dec15841d7940af146337667fcb775c4e29e10107792a0319909af92ee128a7cb8100464f3be26895d31827799268556e930d2d85bc443fb586ac + languageName: node + linkType: hard + "json-schema@npm:0.4.0": version: 0.4.0 resolution: "json-schema@npm:0.4.0" @@ -17642,6 +18317,17 @@ __metadata: languageName: node linkType: hard +"jsontokens@npm:^4.0.1": + version: 4.0.1 + resolution: "jsontokens@npm:4.0.1" + dependencies: + "@noble/hashes": ^1.1.2 + "@noble/secp256k1": ^1.6.3 + base64-js: ^1.5.1 + checksum: 5396294d1b24acb9f7a3b3501ed25bc8ea2e8730a2e371c3b8886c1691829e7114dbeb856c14b88ea8379796f2572661f3175562e2ee3d40c42dbd70dc769427 + languageName: node + linkType: hard + "jsprim@npm:^1.2.2": version: 1.4.2 resolution: "jsprim@npm:1.4.2" @@ -17678,6 +18364,34 @@ __metadata: languageName: node linkType: hard +"key-did-provider-ed25519@npm:3.0.2": + version: 3.0.2 + resolution: "key-did-provider-ed25519@npm:3.0.2" + dependencies: + "@noble/curves": ^1.1.0 + did-jwt: ^7.2.0 + dids: ^4.0.4 + fast-json-stable-stringify: ^2.1.0 + rpc-utils: ^0.6.2 + uint8arrays: ^4.0.3 + checksum: 4b5be3149aa3897fef4293c0deeb66328a072806f4426b7a3639eb30d6b59d75ea2dccf4ad2f4f1964688efc755de6f18f8cf591a3df296d2ace24f08554fc42 + languageName: node + linkType: hard + +"key-did-resolver@npm:3.0.0": + version: 3.0.0 + resolution: "key-did-resolver@npm:3.0.0" + dependencies: + "@stablelib/ed25519": ^1.0.2 + bigint-mod-arith: ^3.1.0 + multiformats: ^11.0.1 + nist-weierstrauss: ^1.6.1 + uint8arrays: ^4.0.3 + varint: ^6.0.0 + checksum: a7a8a6daeb4f2d29f7e61c07e6de63a4f1ed82879f313828e1b3cb9769513325b35b6f92876c23ef47e07cb0a509a767fcc9a6997055be5fefafefb3eebaf373 + languageName: node + linkType: hard + "keyv@npm:^3.0.0": version: 3.1.0 resolution: "keyv@npm:3.1.0" @@ -18143,6 +18857,18 @@ __metadata: languageName: node linkType: hard +"logfmt@npm:^1.3.2": + version: 1.3.2 + resolution: "logfmt@npm:1.3.2" + dependencies: + split: 0.2.x + through: 2.3.x + bin: + logfmt: ./bin/logfmt + checksum: 639d327c1ec5c9b4078278c13f2dd4ea6be0c1057a8735e2b066b7c506532d6b7c267bc4b1c9a6ed7e5d2017abaa69dbe8b4bf9eec4c0b69069a2a53d50f24cb + languageName: node + linkType: hard + "loglevel-plugin-prefix@npm:^0.8.4": version: 0.8.4 resolution: "loglevel-plugin-prefix@npm:0.8.4" @@ -18364,6 +19090,13 @@ __metadata: languageName: node linkType: hard +"mapmoize@npm:^1.2.1": + version: 1.2.1 + resolution: "mapmoize@npm:1.2.1" + checksum: af5d77ca683cd5c963b12f721877269fc0074ebd1b36519606476cdbfaa5ecd8e8cbe0ac15f23715c8a577eeb8d6fd48259a5cd28124c7ccf2729fdeb386b1e4 + languageName: node + linkType: hard + "md5-file@npm:^5.0.0": version: 5.0.0 resolution: "md5-file@npm:5.0.0" @@ -18964,6 +19697,37 @@ __metadata: languageName: node linkType: hard +"multiformats@npm:^11.0.0, multiformats@npm:^11.0.1, multiformats@npm:^11.0.2": + version: 11.0.2 + resolution: "multiformats@npm:11.0.2" + checksum: e587bbe709f29e42ae3c22458c960070269027d962183afc49a83b8ba26c31525e81ce2ac71082a52ba0a75e9aed4d0d044cac68d32656fdcd5cd340fb367fac + languageName: node + linkType: hard + +"multiformats@npm:^12.0.0, multiformats@npm:^12.0.1": + version: 12.1.3 + resolution: "multiformats@npm:12.1.3" + checksum: 1060488612f8e6729c600f47a8741b91aa6e7b807ce165eca3c8cf07ab7465d2d9b212415a9c18886938b9e35b30ea7b9ae19b5ab5122589c65063440643e6bb + languageName: node + linkType: hard + +"multiformats@npm:^9.4.2, multiformats@npm:^9.5.4, multiformats@npm:^9.6.5": + version: 9.9.0 + resolution: "multiformats@npm:9.9.0" + checksum: d3e8c1be400c09a014f557ea02251a2710dbc9fca5aa32cc702ff29f636c5471e17979f30bdcb0a9cbb556f162a8591dc2e1219c24fc21394a56115b820bb84e + languageName: node + linkType: hard + +"multihashes-sync@npm:^1.1.1": + version: 1.1.3 + resolution: "multihashes-sync@npm:1.1.3" + dependencies: + "@noble/hashes": ^1.3.0 + multiformats: ^11.0.0 + checksum: 3edcebe17002323d549473a1a90a432b561b886b6657150a51a0d60a497ae4189ac61f7183fb30a226e20bb7aa99638e6ecc56e15113b199db31d71af1a2d521 + languageName: node + linkType: hard + "mute-stream@npm:0.0.8, mute-stream@npm:~0.0.4": version: 0.0.8 resolution: "mute-stream@npm:0.0.8" @@ -18995,7 +19759,7 @@ __metadata: languageName: node linkType: hard -"nanoid@npm:^3.1.31, nanoid@npm:^3.3.6": +"nanoid@npm:^3.1.31, nanoid@npm:^3.3.1, nanoid@npm:^3.3.6": version: 3.3.6 resolution: "nanoid@npm:3.3.6" bin: @@ -19053,6 +19817,16 @@ __metadata: languageName: node linkType: hard +"nist-weierstrauss@npm:^1.6.1": + version: 1.6.1 + resolution: "nist-weierstrauss@npm:1.6.1" + dependencies: + multiformats: ^9.6.5 + uint8arrays: ^2.1.4 + checksum: 406fa3f8e43b43730c8fff314f3984f0e12815322b28d2fb12c83d6f5c0b27d7622eae3046861a795685346aa85fd8c699b1f05d123d612d8e36440c24fc3eb2 + languageName: node + linkType: hard + "no-case@npm:^3.0.4": version: 3.0.4 resolution: "no-case@npm:3.0.4" @@ -19530,6 +20304,15 @@ __metadata: languageName: node linkType: hard +"object-sizeof@npm:^2.6.1": + version: 2.6.3 + resolution: "object-sizeof@npm:2.6.3" + dependencies: + buffer: ^6.0.3 + checksum: b504e58be311bf4c0ce084a951555dc5fb4af2b6274fdd6b2b6420fbde4de5e4ac63c5c8390511e310de18ed5582cb6796358cf2219fa6320b2a899c08dadad0 + languageName: node + linkType: hard + "object.assign@npm:^4.1.0, object.assign@npm:^4.1.4": version: 4.1.4 resolution: "object.assign@npm:4.1.4" @@ -21214,6 +21997,18 @@ __metadata: languageName: node linkType: hard +"query-string@npm:^7.1.0": + version: 7.1.3 + resolution: "query-string@npm:7.1.3" + dependencies: + decode-uri-component: ^0.2.2 + filter-obj: ^1.1.0 + split-on-first: ^1.0.0 + strict-uri-encode: ^2.0.0 + checksum: 91af02dcd9cc9227a052841d5c2eecb80a0d6489d05625df506a097ef1c59037cfb5e907f39b84643cbfd535c955abec3e553d0130a7b510120c37d06e0f4346 + languageName: node + linkType: hard + "querystring-es3@npm:^0.2.1, querystring-es3@npm:~0.2.0": version: 0.2.1 resolution: "querystring-es3@npm:0.2.1" @@ -22371,6 +23166,13 @@ __metadata: languageName: node linkType: hard +"ripemd160-min@npm:^0.0.6": + version: 0.0.6 + resolution: "ripemd160-min@npm:0.0.6" + checksum: 3253fec273aee407e736df0baf69f90c65f56573d6fc537532041112e7c09a2f665ee2e618ef4a88eb494923d36614322eac26ddf35a504fcfedb422fd414c75 + languageName: node + linkType: hard + "ripemd160@npm:^2.0.0, ripemd160@npm:^2.0.1": version: 2.0.2 resolution: "ripemd160@npm:2.0.2" @@ -22392,6 +23194,15 @@ __metadata: languageName: node linkType: hard +"rpc-utils@npm:^0.6.1, rpc-utils@npm:^0.6.2": + version: 0.6.2 + resolution: "rpc-utils@npm:0.6.2" + dependencies: + nanoid: ^3.3.1 + checksum: 174bb5aa06e0624361baf4ee3da227cba5a2fc324365f0a73b660af84acafcade3307cd711291c7f3c3855800266c6ad8fa23b0d6c8f9bd531d8dc8d2e62be8a + languageName: node + linkType: hard + "run-async@npm:^2.4.0": version: 2.4.1 resolution: "run-async@npm:2.4.1" @@ -22417,7 +23228,7 @@ __metadata: languageName: node linkType: hard -"rxjs@npm:^7.5.5": +"rxjs@npm:^7.5.2, rxjs@npm:^7.5.5": version: 7.8.1 resolution: "rxjs@npm:7.8.1" dependencies: @@ -23254,6 +24065,15 @@ __metadata: languageName: node linkType: hard +"split@npm:0.2.x": + version: 0.2.10 + resolution: "split@npm:0.2.10" + dependencies: + through: 2 + checksum: 9eb11956085125cfdce524dd671e436f3c52ee1745ec32902e7b290d3809ad9e4fbf5da58b9bd1e20a033ba9050a4e453bf6f49d50362bd98f60bf9b0d5986b4 + languageName: node + linkType: hard + "sponge-case@npm:^1.0.1": version: 1.0.1 resolution: "sponge-case@npm:1.0.1" @@ -24056,7 +24876,7 @@ __metadata: languageName: node linkType: hard -"through@npm:>=2.2.7 <3, through@npm:^2.3.6, through@npm:^2.3.8": +"through@npm:2, through@npm:2.3.x, through@npm:>=2.2.7 <3, through@npm:^2.3.6, through@npm:^2.3.8": version: 2.3.8 resolution: "through@npm:2.3.8" checksum: a38c3e059853c494af95d50c072b83f8b676a9ba2818dcc5b108ef252230735c54e0185437618596c790bbba8fcdaef5b290405981ffa09dce67b1f1bf190cbd @@ -24659,6 +25479,24 @@ __metadata: languageName: node linkType: hard +"uint8arrays@npm:^2.1.4": + version: 2.1.10 + resolution: "uint8arrays@npm:2.1.10" + dependencies: + multiformats: ^9.4.2 + checksum: 63ceb5fecc09de69641531c847e0b435d15a73587e40d4db23ed9b8a1ebbe839ae39fe81a15ea6079cdf642fcf2583983f9a5d32726edc4bc5e87634f34e3bd5 + languageName: node + linkType: hard + +"uint8arrays@npm:^4.0.3": + version: 4.0.6 + resolution: "uint8arrays@npm:4.0.6" + dependencies: + multiformats: ^12.0.1 + checksum: 0d55d74fe8d791ee24396bf6175ffe8ff73aae763cfaca5bf774e43315ee57bc69cc3af854de5e7b20bc7e6b7bde731f73a478bc43c295ea8115bff8a49621e0 + languageName: node + linkType: hard + "umd@npm:^3.0.0": version: 3.0.3 resolution: "umd@npm:3.0.3" @@ -25187,6 +26025,29 @@ __metadata: languageName: node linkType: hard +"varint@npm:^6.0.0": + version: 6.0.0 + resolution: "varint@npm:6.0.0" + checksum: 7684113c9d497c01e40396e50169c502eb2176203219b96e1c5ac965a3e15b4892bd22b7e48d87148e10fffe638130516b6dbeedd0efde2b2d0395aa1772eea7 + languageName: node + linkType: hard + +"varintes@npm:^2.0.4": + version: 2.0.5 + resolution: "varintes@npm:2.0.5" + checksum: a491a29fc2b6d8b91896af9225eded84921097290bc3c4fae018954b1fd502cdbf448260b389f18633bd0c156d8dbad7198e776c03a7a887fd64c05c5ba7794d + languageName: node + linkType: hard + +"varuint-bitcoin@npm:^1.1.2": + version: 1.1.2 + resolution: "varuint-bitcoin@npm:1.1.2" + dependencies: + safe-buffer: ^5.1.1 + checksum: 1c900bf08f2408ae33a6094dc5d809bdb6673eaf6039062d88c230155873e51e29c760053611f93ccd024854d04ebd92ed95c744720e94a79ca4e1150fcce071 + languageName: node + linkType: hard + "vary@npm:^1, vary@npm:~1.1.2": version: 1.1.2 resolution: "vary@npm:1.1.2"