From 9c5eae286d088ff7853e7ca6ac34543069a0bea7 Mon Sep 17 00:00:00 2001 From: julienmalard Date: Mon, 25 Nov 2024 16:25:59 +0530 Subject: [PATCH] Major updates --- .gitignore | 4 +- .npmignore | 1 + index.d.ts | 192 --------- package.json | 18 +- pnpm-lock.yaml | 1110 +++++++++++++++++++++++++----------------------- src/index.d.ts | 250 +++++++++++ tsconfig.json | 30 ++ 7 files changed, 862 insertions(+), 743 deletions(-) create mode 100644 .npmignore delete mode 100644 index.d.ts create mode 100644 src/index.d.ts create mode 100644 tsconfig.json diff --git a/.gitignore b/.gitignore index 5b64f7f..32b2659 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ node_modules .idea -.DS_Store \ No newline at end of file +.DS_Store + +dist \ No newline at end of file diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..53c37a1 --- /dev/null +++ b/.npmignore @@ -0,0 +1 @@ +dist \ No newline at end of file diff --git a/index.d.ts b/index.d.ts deleted file mode 100644 index 4476fbb..0000000 --- a/index.d.ts +++ /dev/null @@ -1,192 +0,0 @@ - -declare module "@orbitdb/core" { - import EventEmitter from "events"; - import type { HeliaLibp2p } from "helia"; - import { Libp2p } from "@libp2p/interface"; - import type { PeerId } from "@libp2p/interface"; - - export function Database(args: { - ipfs: HeliaLibp2p; - identity?: Identity; - address: string; - name?: string; - access?: AccessController; - directory?: string; - meta?: object; - headsStorage?: Storage; - entryStorage?: Storage; - indexStorage?: Storage; - referencesCount?: number; - syncAutomatically?: boolean; - onUpdate?: () => void; - }): Promise<{ - type: string; - addOperation: (args: { - op: string; - key: string | null; - value: unknown; - }) => Promise; - address: string; - close(): Promise; - drop(): Promise; - events: EventEmitter; - access: AccessController; - log: Log; - }>; - - export type Identity = { - id: string; - publicKey: string; - signatures: { - id: string; - publicKey: string; - }; - type: string; - sign: (identity: Identity, data: string) => Promise; - verify: ( - signature: string, - publicKey: string, - data: string - ) => Promise; - }; - - export type OrbitDB = { - id: string; - open: ( - address: string, - OrbitDBDatabaseOptions? - ) => ReturnType; - stop; - ipfs; - directory; - keystore; - identity: Identity; - peerId; - }; - export function createOrbitDB(args: { - ipfs: HeliaLibp2p; - id?: string; - identity?: Identity; - identities?: typeof Identities; - directory?: string; - }): Promise; - export function useAccessController(accessController: { type: string }): void; - export function isValidAddress(address: unknown): boolean; - - export type Log = { - id; - clock: Clock; - heads: () => Promise; - traverse: () => AsyncGenerator; - }; - - export function AccessControllerGenerator({ - orbitdb, - identities, - address, - }: { - orbitdb: OrbitDB; - identities: IdentitiesType; - address?: string; - }): Promise; - - export class AccessController { - type: string; - address: string; - canAppend: (entry: LogEntry) => Promise; - } - - export function useDatabaseType(type: { type: string }): void; - - export function IPFSAccessController(args: { - write: string[]; - storage: Storage; - }): (args: { - orbitdb: OrbitDB; - identities: IdentitiesType; - address: string; - }) => Promise<{ - type: "ipfs"; - address: string; - write: string[]; - canAppend: (entry: LogEntry) => Promise; - }>; - export function Identities(args: {keystore?: KeyStoreType, path?: string, storage?: Storage, ipfs?: HeliaLibp2p}): Promise; - export class IdentitiesType { - createIdentity; - getIdentity; - verifyIdentity: (identity) => boolean; - sign; - verify; - keystore; - } - export const Entry: { - create: (identity: Identity, id: string, payload: unknown, clock?: Clock, next?: string[], refs?: string[]) => Promise; - verify: (identities: IdentitiesType, entry: LogEntry) => Promise; - decode: (bytes: Uint8Array) => Promise; - isEntry: (obj: object) => boolean; - isEqual: (a: LogEntry, b: LogEntry) => boolean; - }; - export class Storage { - put; - get; - } - export function IPFSBlockStorage({ - ipfs: IPFS, - pin: boolean, - }): Promise; - export function LRUStorage({ size: number }): Promise; - export function ComposedStorage(...args: Storage[]): Promise; - - export type OrbitDBDatabaseOptions = { - type: string; - AccessController?: typeof AccessControllerGenerator; - syncAutomatically?: boolean; - }; - - export type Clock = { - id: string; - time: number; - }; - - export type LogEntry = { - id: string; - payload: { op: string; key: string | null; value?: T }; - next: string[]; - refs: string[]; - clock: Clock; - v: Number; - key: string; - identity: string; - sig: string; - hash: string; - }; - - export type KeyValue = Awaited> & { - type: "keyvalue"; - address: string; - put(key: string, value: unknown): Promise; - set: KeyValue["put"]; - del(key: string): Promise; - get(key: string): Promise; - all(): Promise<{ key: string; value: unknown; hash: string }[]>; - close(): Promise; - drop(): Promise; - events: EventEmitter; - access: AccessController; - log: Log; - }; - - export function KeyStore (args: {storage?: Storage, path?: string}): Promise; - - export type KeyStoreType = { - clear, - close, - hasKey, - addKey, - createKey, - getKey, - getPublic - } - } - \ No newline at end of file diff --git a/package.json b/package.json index a8246de..3e76f07 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,7 @@ { - "name": "@constl/orbit-db-types", - "private": false, - "version": "2.0.6", - "description": "Unofficial typings for orbit-db", + "name": "@orbitdb/core-types", + "version": "1.0.0", + "description": "Official typings for OrbitDB", "types": "index.d.ts", "type": "module", "repository": { @@ -21,13 +20,16 @@ }, "homepage": "https://github.com/reseau-constellationn/orbit-db-types#readme", "scripts": { - "publishNPM": "pnpm publish --access public" + "test": "pnpm tsc -p tsconfig.json", + "release": "pnpm test && pnpm publish --access public" }, "devDependencies": { - "@libp2p/interface": "^2.1.3", - "@orbitdb/core": "^2.3.0", + "@libp2p/interface": "^2.2.1", + "@orbitdb/core": "^2.4.3", "@types/elliptic": "^6.4.18", "@types/events": "^3.0.3", - "helia": "^5.1.0" + "helia": "^5.1.1", + "tiny-typed-emitter": "^2.1.0", + "typescript": "^5.7.2" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0c8a0c8..cb8b1f8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,11 +9,11 @@ importers: .: devDependencies: '@libp2p/interface': - specifier: ^2.1.3 - version: 2.1.3 + specifier: ^2.2.1 + version: 2.2.1 '@orbitdb/core': - specifier: ^2.3.0 - version: 2.3.0 + specifier: ^2.4.3 + version: 2.4.3 '@types/elliptic': specifier: ^6.4.18 version: 6.4.18 @@ -21,35 +21,41 @@ importers: specifier: ^3.0.3 version: 3.0.3 helia: - specifier: ^5.1.0 - version: 5.1.0(react-native@0.73.3(@babel/core@7.26.0)(@babel/preset-env@7.23.9(@babel/core@7.26.0))(react@18.2.0)) + specifier: ^5.1.1 + version: 5.1.1(react-native@0.73.3(@babel/core@7.26.0)(@babel/preset-env@7.23.9(@babel/core@7.26.0))(react@18.2.0)) + tiny-typed-emitter: + specifier: ^2.1.0 + version: 2.1.0 + typescript: + specifier: ^5.7.2 + version: 5.7.2 packages: - '@achingbrain/nat-port-mapper@1.0.15': - resolution: {integrity: sha512-jPXTuw88ogjo689QfKv5qsO2Y3Sv9mnPq6pH30LOU3bevevED/nMdFbAyrGbt3V3thsSvZGcGJ/lRSE7EE2jaw==} + '@achingbrain/nat-port-mapper@2.0.7': + resolution: {integrity: sha512-VWJUxWEH1cz572yJwPsz6kq/3P1GmGx9/L/sg1h5UB9QafercgZbEIe/e5Bf3rwD7lEDSbpw2e81gGIkf3/Uvg==} - '@achingbrain/ssdp@4.0.6': - resolution: {integrity: sha512-Y4JE2L9150i50V6lg/Y8+ilhxRpUZKKv+PKo68Aj7MjPfaUAar6ZHilF9h4/Zb3q0fqGMXNc9o11cQLNI8J8bA==} + '@achingbrain/ssdp@4.1.0': + resolution: {integrity: sha512-CtitFm84oesjSplBKn5/5Adm/JFCtFqS1sjLl6FryYm2hogxc1QnjYRFcLfy97c/arzg7Gw+evZl06ChHs+teA==} '@ampproject/remapping@2.3.0': resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==} engines: {node: '>=6.0.0'} - '@babel/code-frame@7.26.0': - resolution: {integrity: sha512-INCKxTtbXtcNbUZ3YXutwMpEleqttcswhAdee7dhuoVrD2cnuc3PqtERBtxkX5nziX9vnBL8WXmSGwv8CuPV6g==} + '@babel/code-frame@7.26.2': + resolution: {integrity: sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==} engines: {node: '>=6.9.0'} - '@babel/compat-data@7.26.0': - resolution: {integrity: sha512-qETICbZSLe7uXv9VE8T/RWOdIE5qqyTucOt4zLYMafj2MRO271VGgLd4RACJMeBO37UPWhXiKMBk7YlJ0fOzQA==} + '@babel/compat-data@7.26.2': + resolution: {integrity: sha512-Z0WgzSEa+aUcdiJuCIqgujCshpMWgUpgOxXotrYPSA53hA3qopNaqcJpyr0hVb1FeWdnqFA35/fUtXgBK8srQg==} engines: {node: '>=6.9.0'} '@babel/core@7.26.0': resolution: {integrity: sha512-i1SLeK+DzNnQ3LL/CswPCa/E5u4lh1k6IAEphON8F+cXt0t9euTshDru0q7/IqMa1PMPz5RnHuHscF8/ZJsStg==} engines: {node: '>=6.9.0'} - '@babel/generator@7.26.0': - resolution: {integrity: sha512-/AIkAmInnWwgEAJGQr9vY0c66Mj6kjkE2ZPB1PurTRaRAh3U+J45sAQMjQDJdh4WbR3l0x5xkimXBKyBXXAu2w==} + '@babel/generator@7.26.2': + resolution: {integrity: sha512-zevQbhbau95nkoxSq3f/DC/SC+EEOUZd3DYqfSkMhY2/wfSeaHV1Ew4vk8e+x8lja31IbyuUa2uQ3JONqKbysw==} engines: {node: '>=6.9.0'} '@babel/helper-annotate-as-pure@7.25.9': @@ -81,8 +87,8 @@ packages: peerDependencies: '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 - '@babel/helper-define-polyfill-provider@0.6.2': - resolution: {integrity: sha512-LV76g+C502biUK6AyZ3LK10vDpDyCzZnhZFXkH1L75zHPj68+qc8Zfpx2th+gzwA2MzyK+1g/3EPl62yFnVttQ==} + '@babel/helper-define-polyfill-provider@0.6.3': + resolution: {integrity: sha512-HK7Bi+Hj6H+VTHA3ZvBis7V/6hu9QuTrnMXNybfUf2iiuU/N97I8VjB+KbhFF8Rld/Lx5MzoCwPCpPjfK+n8Cg==} peerDependencies: '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 @@ -152,8 +158,8 @@ packages: resolution: {integrity: sha512-tbhNuIxNcVb21pInl3ZSjksLCvgdZy9KwJ8brv993QtIVKJBBkYXz4q4ZbAv31GdnC+R90np23L5FbEBlthAEw==} engines: {node: '>=6.9.0'} - '@babel/parser@7.26.1': - resolution: {integrity: sha512-reoQYNiAJreZNsJzyrDNzFQ+IQ5JFiIzAHJg9bn94S3l+4++J7RsIhNMoB+lgP/9tpmiAQqspv+xfdxTSzREOw==} + '@babel/parser@7.26.2': + resolution: {integrity: sha512-DWMCZH9WA4Maitz2q21SRKHo9QXZxkDsbNZoVD62gusNtNBBqDg9i7uOhASfTfIGNzW+O+r7+jAlM8dwphcJKQ==} engines: {node: '>=6.0.0'} hasBin: true @@ -755,34 +761,34 @@ packages: '@hapi/topo@5.1.0': resolution: {integrity: sha512-foQZKJig7Ob0BMAYBfcJk8d77QtOe7Wo4ox7ff1lQYoNNAb6jwcY1ncdoy2e9wQZzvNy7ODZCYJkK8kzmcAnAg==} - '@helia/bitswap@2.0.1': - resolution: {integrity: sha512-9bwjwdgW3LfraDfIlfJ4g1WrO96IKW3hjrc63jXxlKHU8JPwMdd5a//XoNIQfQ5vx6DV0w+w2AM1aHHt+nHBGA==} + '@helia/bitswap@2.0.2': + resolution: {integrity: sha512-aJfcQeyJFX+f7TWYZhf8zuZJFig6AhzFjiB+mgzL8YnCG01c+ouZ2iYLSImLGndcRr47uOey6rjHvWuwu1Id8Q==} - '@helia/block-brokers@4.0.1': - resolution: {integrity: sha512-djYp4bmC15SBP1/ra9SrOAATr432hDcA2hnHWewkz1l84hCi+gSol7AcdAfW233pZ2ivZcI2Jc1Nyf7Vg6uFeg==} + '@helia/block-brokers@4.0.2': + resolution: {integrity: sha512-TGn/VFvZTnAZ12J2/l+XShqde+Dz10dVvgllIQlKnSxIcO+U7iGxDusrCvYL5KTn6yy/ghSUsQ2cBMEBCbjgvA==} - '@helia/delegated-routing-v1-http-api-client@4.1.1': - resolution: {integrity: sha512-Pf5pZkZGEBhARFXoLRzVVSZ8E8yU0Q0F3DOadhxPQjaSNyahetwiTsV8TvJltfrs2Afy2+gbA2+Rycl7apSXdQ==} + '@helia/delegated-routing-v1-http-api-client@4.2.1': + resolution: {integrity: sha512-Gc149HTv/ufhNfcrQnEN3j9cqLSY+2AXMiIzNjQM1yF+wniN05yYzSYLxCtDlPfyi2TzODgdK/Kql3mRJLnGUg==} - '@helia/interface@5.0.0': - resolution: {integrity: sha512-B95cP8RBl7cqSu1VELeRWPUsTNxu2bJ2Y/ihsdYfUCcxHKUUQdDDLTHQzhZe9iC9TYADkfkjIM7gqgmhqYtY6A==} + '@helia/interface@5.1.0': + resolution: {integrity: sha512-5rah5zHBfj6JRsdAtbgS6BaGXu/8pBMOCAAoAYCJntJ7TNSIAF1/Zv5dyK+NoYkgiFZW+8l4Z7cKDCpdC+78pw==} - '@helia/routers@2.1.0': - resolution: {integrity: sha512-JOvM+EfVd9c999gSz4tHLJWpwexU1kc82ujwoFRaRvKxT5pD77t9h0gwnfnsGbe9Br6iUPFXquNC+g0p8Xll3g==} + '@helia/routers@2.2.0': + resolution: {integrity: sha512-MyPCfWV8KUkg8eguPW/gKJ/fsSRzWzcEjym4vhigy4KxQE7JvmrSL/+NFViqnlv83+77U0E1VWvKbUsQvuNX+w==} - '@helia/utils@1.0.1': - resolution: {integrity: sha512-S1qLDiHNdBxQxtgonqPQHl8Rn7gs4HEQSrVF+ok//T/ZQPItNGnhKudV8qWhoOdpzCDaObx2ryqip+K9FK8VCQ==} + '@helia/utils@1.1.0': + resolution: {integrity: sha512-7DtCVu24qXqqNYwax3rnz9vAOw/SDXSvlcsK60/1irz/2HvxIcOG19bnllL+OGaMKJgfnoDGRbduQNgP04jJXA==} - '@ipld/dag-cbor@9.2.1': - resolution: {integrity: sha512-nyY48yE7r3dnJVlxrdaimrbloh4RokQaNRdI//btfTkcTEZbpmSrbYcBQ4VKTf8ZxXAOUJy4VsRpkJo+y9RTnA==} + '@ipld/dag-cbor@9.2.2': + resolution: {integrity: sha512-uIEOuruCqKTP50OBWwgz4Js2+LhiBQaxc57cnP71f45b1mHEAo1OCR1Zn/TbvSW/mV1x+JqhacIktkKyaYqhCw==} engines: {node: '>=16.0.0', npm: '>=7.0.0'} - '@ipld/dag-json@10.2.2': - resolution: {integrity: sha512-NnU8HdHKwAoGyrW3S09NMa8aZw0tImLRyR64hoafpLpDpAbA9g1+fb24JsdlugbL4sXUQVwDVA+qK4Ud8V83lA==} + '@ipld/dag-json@10.2.3': + resolution: {integrity: sha512-itacv1j1hvYgLox2B42Msn70QLzcr0MEo5yGIENuw2SM/lQzq9bmBiMky+kDsIrsqqblKTXcHBZnnmK7D4a6ZQ==} engines: {node: '>=16.0.0', npm: '>=7.0.0'} - '@ipld/dag-pb@4.1.2': - resolution: {integrity: sha512-BSztO4l3C+ya9HjCaQot26Y4AVsqIKtnn6+23ubc1usucnf6yoTBme18oCCdM6gKBMxuPqju5ye3lh9WEJsdeQ==} + '@ipld/dag-pb@4.1.3': + resolution: {integrity: sha512-ueULCaaSCcD+dQga6nKiRr+RSeVgdiYiEPKVUu5iQMNYDN+9osd0KpR3UDd9uQQ+6RWuv9L34SchfEwj7YIbOA==} engines: {node: '>=16.0.0', npm: '>=7.0.0'} '@isaacs/ttlcache@1.4.1': @@ -837,86 +843,83 @@ packages: '@leichtgewicht/ip-codec@2.0.5': resolution: {integrity: sha512-Vo+PSpZG2/fmgmiNzYK9qWRh8h/CHrwD0mo1h1DzL4yzHNSfWYujGTYsWGreD000gcgmZ7K4Ys6Tx9TxtsKdDw==} - '@libp2p/autonat@2.0.9': - resolution: {integrity: sha512-ukmQsglb3+UVUuyYdFDXFf8KeWQNPPptOVSbbT+gsP/P90JApIt6hpApD0S5EY2Xrfui8+gKuCdbxr6G2JnCFg==} + '@libp2p/autonat@2.0.12': + resolution: {integrity: sha512-EgJb6RwJmBwB7/Ddg3B3xFspc+OrNC6oonWh3osrP85J0cY7wOVmDSuLqk8tcxli9OuTYNSef/7dY9NVYEA+9g==} - '@libp2p/bootstrap@11.0.9': - resolution: {integrity: sha512-0c//fq1LkYW/2CFxXTz0Z8/hisGl38Zk7LaYePJe41E6F69Bh0akDvG7rAVPGwTutw3rv0Pj2W2MsSl8woZAyA==} + '@libp2p/bootstrap@11.0.13': + resolution: {integrity: sha512-zfZdqR4pVvsSWRBYNYjJD6hCzsgRRNLy8NAcLOf+H4+xDQg2pdGY7RhbeLetqnEaifHFV1INdIuCkdOI8cSMsQ==} - '@libp2p/circuit-relay-v2@3.0.0': - resolution: {integrity: sha512-q2SeKkgXttsS+l+U80sWdjjRtwfrWEWIHxCfKpopCzJOH/YYjIx07sy90ASg2FWhgW9ZfgSrh1KNoBrNsIYKvg==} + '@libp2p/circuit-relay-v2@3.1.3': + resolution: {integrity: sha512-tdPaNK4ut9FU5uwABf+lj01eul3uVDUyAdlcpnIRgkRTOMZ02C06nyaIFSeHD5ykpyZpDIbLPHHBLd5kRYRfYg==} - '@libp2p/crypto@5.0.5': - resolution: {integrity: sha512-bs3PpSQS59I/YD2RnwcPv88pF/vB6GH2rw4jqb/0xm60LfRuSm0tNoCrJMuyG2pFz89WuKM+0BpnEWQi4alwCg==} + '@libp2p/crypto@5.0.7': + resolution: {integrity: sha512-hv0rv/BPBsmSV5GBtaLZpOEv1LsA+Ub0BEDnEvSdB0ZbZ3Fcdlt5HTaJ2jYz4lx2T7KWTFQa9i1elmlGxwuJNg==} - '@libp2p/dcutr@2.0.9': - resolution: {integrity: sha512-W1D5f71XF4t4OfbilpwhirP3nyo1k1iwFTT+0Qs6lxZc2AJMvbgwLpy8vWSbeue2mUwcFaRhPraVDp42vcUO8g==} + '@libp2p/dcutr@2.0.12': + resolution: {integrity: sha512-BtUtNQW+AmZDr3waEuQn4TzEleMljxXlojnUBAseysnJH5nHPjLyQfkfqKEIFdswghlZOJLX0YhiR+otzKXCCQ==} - '@libp2p/identify@3.0.9': - resolution: {integrity: sha512-VJjYDoOmgjw0i6xIMQxeG4B+ejzhTXkvSQ1orAhjm/aPlX542kcgAQmR9ZXiPT9OYROliNe6i4bS1MepDkO6sg==} + '@libp2p/identify@3.0.12': + resolution: {integrity: sha512-Z1MjdaGMsLPEEpEvlCJOsOgZ2q4FOPqO7W9ep6Kemnc0suuB6wk+8XLDvnZKHS80OdZopGQwm7z8Az06cxrLAA==} - '@libp2p/interface-internal@2.0.9': - resolution: {integrity: sha512-imXoOdKvvaQJLcmkv2ffVY9CyNbktsY2cN7aGRg8Dr1t9C7c/EDhSEfWcRQkxMAVib4jy/KnyL6JZKv5gWPu3g==} + '@libp2p/interface-internal@2.1.1': + resolution: {integrity: sha512-7rw7p5wZry9ZPfdhYi4zXRjsgrJ8y/X5M7iWIzUBSJdJP2Zd0ZVStlgyqYm1YAbb8V0mwo5BI/kxd2o9R/9TJQ==} - '@libp2p/interface@2.1.3': - resolution: {integrity: sha512-t1i2LWcnTGJEr7fDMslA8wYwBzJP81QKBlrBHoGhXxqqpRQa9035roCh/Akuw5RUgjKE47/ezjuzo90aWsJB8g==} + '@libp2p/interface@2.2.1': + resolution: {integrity: sha512-5dvsnf9+S5DoXCk5H3HNpe8lKzuXTi0k2On8Cdqr6YrkmrhCimow63AxtaUOVkH7GVBTTi8Q1jSx3aleX7KcEA==} - '@libp2p/kad-dht@14.0.2': - resolution: {integrity: sha512-lGpdMOy99YllsebqJXMSwm9fj9rIwICkZ98w+VsAKiapvyqqCrg178Wlq8bg6GsZdGMAAqkk32pVmsuz7SdLZg==} + '@libp2p/kad-dht@14.1.3': + resolution: {integrity: sha512-eo2QdsllouakcdHa7NbLhjQ6eMdsMc7PLZRt3lnQTdQsMT81iVTAB/hhVJlTSEUJHQS5JbikrjkJLtFu6KUFzw==} - '@libp2p/keychain@5.0.8': - resolution: {integrity: sha512-rQ+73PNqeLJ4deBPv1s7PFeMBDAqgTO9QfZqXnKw5PkafT4FuKnMY94Hv7AEflh6/ZH7dpsOhDZJoHdAaXrnkg==} + '@libp2p/keychain@5.0.10': + resolution: {integrity: sha512-olTq2dbKpKkUCsDjAOYcxwSB4KotJ9zA3aaWOE8aUd2ZbwrYJ3VBlm0Ov5PfdGx9qsUhsfnmC01vpF6cEEOg0g==} - '@libp2p/logger@5.1.2': - resolution: {integrity: sha512-To14ikSC+fnNXO+GkZB/Vj+kOGbdGcdpHdAMxvAWjm69ILDreGUlcDVotnAKVtN2bPAHL3Z0XzqDyKeRI6j73A==} + '@libp2p/logger@5.1.4': + resolution: {integrity: sha512-pVQ2odi6rcOR412wM0dg7eZ1+wPHPo5D7W8vIn3YyB2FLodQD7CZXXfg7Z9Yaqlc4BVbkNXDWL/jlUss9wL2Ow==} - '@libp2p/mdns@11.0.9': - resolution: {integrity: sha512-frV2Y4p712WdzneBK8ZcG1ax/JXcKEV92I2rw7OOxyzLriSZA1TTG07ZaQoVo01rgN7scJQj30+XRf8xWVFrhA==} + '@libp2p/mdns@11.0.13': + resolution: {integrity: sha512-zGr7PygfoUeYjTvpujFYcLLhlcQ4dGegPep6e/LaLq97eU+GTF//AJbs9KhHQRfSqv449o+38fbqPHCxrwurMA==} - '@libp2p/mplex@11.0.9': - resolution: {integrity: sha512-cqHY47Uq/ksoTyv1zEwoZoAaT+nfhYA0EUm1jhlYDxLDP5z/OmMEbJaJgS1LQXa55p5CKNWbGAajltWiryKzSw==} + '@libp2p/mplex@11.0.13': + resolution: {integrity: sha512-OS6n8BfzMhgsAB/IiEcbQfdftAVOXkRCrZrSAZC90kWEL47SuHk6M5xjsr6ODOXCHAWApC7FfMV4tKrzyXXItw==} - '@libp2p/multistream-select@6.0.7': - resolution: {integrity: sha512-37CE4aKUlETR6FT/9yb3DXp0xMLSsz2k0Qh061IPO2WZDswwjcU8qm/ADWqEtwsvOldfoAF7pTH4FaXktC5cEw==} + '@libp2p/multistream-select@6.0.9': + resolution: {integrity: sha512-yU+K4/jtXwt1WXMXSJTuhGnn6F97v/P0IOdMALMQlgmvSeGICDBNllX/i0r9y/DDwI/Hh61phB15aUgc/6pX8Q==} - '@libp2p/peer-collections@6.0.9': - resolution: {integrity: sha512-SQ83XUrxPoBdIezCntbXlhNxeNEqBfu/JznquoKFLVCfoTQm0251F1tApys3liGX4l1VJaLGLhLNd6dAmDRTyQ==} + '@libp2p/peer-collections@6.0.12': + resolution: {integrity: sha512-JQvnCZ5rUiFkznQTOblNF+xE0ddmETn1f3FyYP9vHALOPrgdQkoZeY1b1W3Gz7gA8CXZ//cluHE+ZBiavDbNIg==} - '@libp2p/peer-id@5.0.6': - resolution: {integrity: sha512-gWzWm/z9dsCxL9TiOPd4VmS0V3GKMSvPWGLuNEvSA2j8+aqTzZ7jjQrF/SJtAJygD0h5jxvUnC1q05YaQUsTNA==} + '@libp2p/peer-id@5.0.8': + resolution: {integrity: sha512-vil9cch+qtqchSlrgG0Zw82uCW8XsyeOJc6DaIiS2hI01cMOIChT4CKjTn0iV5k2yw/niycQPjLrYQzy7tBIYg==} - '@libp2p/peer-record@8.0.9': - resolution: {integrity: sha512-Ixiha//G7oCzQXSXHyXhv4Xp4qzVGSZLKUWmgUuLpqnlHrVXcqPLmPx0vkOik3ndIGriYGj5Hi7zAfCG0BN4oQ==} + '@libp2p/peer-record@8.0.12': + resolution: {integrity: sha512-N8OyAAgQwBCUB7AtSlI0AQun45SeBS5UWMnhO9JLAzzNUOZiMk+IfBwEu8dpJ0E311QK2vGY1suoxTsauqMSjg==} - '@libp2p/peer-store@11.0.9': - resolution: {integrity: sha512-gBuSXihGtxD2r/KylgcaVm0fv0hy30j74mWcmMokpwqwLH2aLReGN9QelubmXtH2cnaRafD66QutuHNORIgRlg==} + '@libp2p/peer-store@11.0.12': + resolution: {integrity: sha512-wCPvrmdm+fua28xY6THVskawNDhKxo9O9suif9MAy6Nb9Drr+WiOGucHasOrs/ELvkuU3nc/zxvyWjk8MlTEfw==} - '@libp2p/ping@2.0.9': - resolution: {integrity: sha512-esS6crF51u0GwKooTdpFGaEvIA0+UDRyiTnZicUg44WhcM2xpo8kSZh7QTFgEgy1lGD/K/a5KDuSSac4+3EqNA==} + '@libp2p/ping@2.0.12': + resolution: {integrity: sha512-wJKJ9PmAQbcXl/V5iZfmypztptVS6mRAZjpidDHOwUxSTmxgnd9HadJEgiQ1dUJjaMe4JUmLhb3+ym+RS48alg==} '@libp2p/record@4.0.4': resolution: {integrity: sha512-wEEeHXGNIcc8HtGbgGMuSHbboUWMxKG7OxALFwkE+KACgfRJZTESOp6XIdZnyC0r9lfEFsjF01pFKBTzoBmWEQ==} - '@libp2p/tcp@10.0.10': - resolution: {integrity: sha512-4sMMyq+egYxoVNXca6TkuRWJKRY0YZrVzS3z0DSgceT+1BOpzMh7gYahO7/ns0Su3hvKOVCk1nBtIFPy3Tb0Xw==} + '@libp2p/tcp@10.0.13': + resolution: {integrity: sha512-1oxkfMGJdnACSeq75k+K1JM9KkPUFgp7U/YH6+4f884MC7crciV28+FtrIoxS+79gX+EZeUOzvCPLWbuQddk9Q==} - '@libp2p/tls@2.0.9': - resolution: {integrity: sha512-biTdZvDF5g8EdXuusmko2NTCAGxf5lwFO4cLUU4NJ0c4Hs8DJdMetAAwBjZeQnEbwNI1azszdcXVPcOIEPLzMQ==} + '@libp2p/tls@2.0.11': + resolution: {integrity: sha512-kUBC1CneZgFPP0p084ecHGOnFURxOfZgJXRRSXYrZhK/pv8xpJcO2GPebsNlJDkuId/sX22koGYBZV+xDIVEgg==} - '@libp2p/upnp-nat@2.0.9': - resolution: {integrity: sha512-u8r+arOvNkZcSp7RceupwmYi7lXlEcDBVSFwEvFfRUJom5uzIKShWV7wYGa3tI7e/yRxCNBF6H+DdXHLFRDeZg==} + '@libp2p/upnp-nat@2.0.12': + resolution: {integrity: sha512-cH0iX2bizM5OlSQlBvvcbzSNfavHGkEQATiQ56oMcP5VpKVwOb/SupojRu2s5ohUal9x+I3rKU5dN0jx/HBnYA==} - '@libp2p/utils@6.1.2': - resolution: {integrity: sha512-zjzjcLz2UlX29I5xM8dJ+7IEYJ6zE91RMYf2O4lLKQue/JYUjtCyPdlX6lDG7KhgDyoyB+buN6PVutWlFQteLg==} + '@libp2p/utils@6.2.1': + resolution: {integrity: sha512-uORuQLB75MgbrDA6i0rCw/fqNFgCs1dO3c21Z5WNdRCA4Lcvhgi6wnUf45DwgNCqtljDAnBR0FYI+UbEp5yAuA==} - '@libp2p/webrtc@5.0.14': - resolution: {integrity: sha512-srGqy36SqyIxU1mvkOmIlkHflOsnxkise3fD54YuPkrzToH2be1X/NUJ39xViv/JL6V5hu29LJXXp674jfeEpw==} + '@libp2p/webrtc@5.0.19': + resolution: {integrity: sha512-WicT2mraZf4ZKqt73MYvfAUvOQehZDPT673GThA3yK02eR6B/c9MenMuUbNb3qGsE4b5yhMjioYjZPahWpxcBw==} - '@libp2p/websockets@9.0.9': - resolution: {integrity: sha512-8Y3WR80H3mBTkHrVqrP7CqHjiCPEH2ZThHkHq6OY/BhT7CcISWl9mtTcfalQ92JSnMP4VgHd/IwAzSPlFXVe2g==} - - '@libp2p/webtransport@5.0.14': - resolution: {integrity: sha512-m46mMOsCUybofa4W6YGCcs9C34AlbMNcb4l8BOR8ZUecwNP37/RnbZEUyyWIiVbygeaLk3GZ8xlTnezzOslbqA==} + '@libp2p/websockets@9.0.13': + resolution: {integrity: sha512-e1Lukn8kzJC7YbfufT8rOy/BXUyl213srb+zizFu4JkTRloChEjq7VzARPo9lrMQye71JrTi2eBg+O/XadERsg==} '@multiformats/dns@1.0.6': resolution: {integrity: sha512-nt/5UqjMPtyvkG9BQYdJ4GfLK3nMqGpFZOzf4hAmIa0sJh2LlS9YKXZ4FgwBDsaHvzZqR/rUFIywIc7pkHNNuw==} @@ -924,14 +927,17 @@ packages: '@multiformats/mafmt@12.1.6': resolution: {integrity: sha512-tlJRfL21X+AKn9b5i5VnaTD6bNttpSpcqwKVmDmSHLwxoz97fAHaepqFOk/l1fIu94nImIXneNbhsJx/RQNIww==} - '@multiformats/multiaddr-matcher@1.3.0': - resolution: {integrity: sha512-D0zKDNwLp279uEjPEVQCWej3X+ugcV93JqQ7OQzve4NiML/C7pZoYefoM+Exb25VZd+6agdIshxs+4D7E5jIhg==} + '@multiformats/multiaddr-matcher@1.6.0': + resolution: {integrity: sha512-E77lLvQR+50kTAfvjV3g4wr9qCu77Z+6yT0s1hgfh8B4sAXZ8u/YdQJGhjgstgW1kmGy7BXPppROKYijqQsesQ==} + + '@multiformats/multiaddr-to-uri@10.1.2': + resolution: {integrity: sha512-6sicfYRjJlHJn4bwsQancs8kXncWU4dDN/+V9sMVTYp9hi8ovWgVkK75AbAv4SfhztmmI+oufVUncQ1n+SukKQ==} - '@multiformats/multiaddr-to-uri@10.1.1': - resolution: {integrity: sha512-8GlXnFmLq3KXXMaGCqOBf8Zd5suTY7p8SlwPrgpdL0LzxG+PjiH2k8QcPEk9JFVjfOgY1XfPYSn3mAiliC4tZw==} + '@multiformats/multiaddr-to-uri@11.0.0': + resolution: {integrity: sha512-9RNmlIGwZbBLsHekT50dbt4o4u8Iciw9kGjv+WHiGxQdsJ6xKKjU1+C0Vbas6RilMbaVOAOnEyfNcXbUmTkLxQ==} - '@multiformats/multiaddr@12.3.1': - resolution: {integrity: sha512-yoGODQY4nIj41ENJClucS8FtBoe8w682bzbKldEQr9lSlfdHqAsRC+vpJAOBpiMwPps1tHua4kxrDmvprdhoDQ==} + '@multiformats/multiaddr@12.3.3': + resolution: {integrity: sha512-3POIUN7myk8JbO8oi/FEyZoLQW2XMhwM/uB7hG5Zl1PgdXJR8UTH9QdQEp1jM358kd3yn+vtS4fFJdqdRk+O7A==} '@multiformats/uri-to-multiaddr@8.0.0': resolution: {integrity: sha512-86O+gY6JTnCv0O/IxTKV+1+GACoEBTr5Cfyh+FdzStWneviz2AZwLK8Hsys5dbfMgT//Vs7FolMiEHURlCel8w==} @@ -939,16 +945,20 @@ packages: '@noble/ciphers@0.6.0': resolution: {integrity: sha512-mIbq/R9QXk5/cTfESb1OKtyFnk7oc1Om/8onA1158K9/OZUQFDEVy55jVTato+xmp3XX6F6Qh0zz0Nc1AxAlRQ==} - '@noble/curves@1.6.0': - resolution: {integrity: sha512-TlaHRXDehJuRNR9TfZDNQ45mMEd5dwUwmicsafcIX4SsNiqnCHKjE/1alYPd/lDRVhxdhUAlv8uEhMCI5zjIJQ==} + '@noble/curves@1.7.0': + resolution: {integrity: sha512-UTMhXK9SeDhFJVrHeUJ5uZlI6ajXg10O6Ddocf9S6GjbSBVZsJo88HzKwXznNfGpMTRDyJkqMjNDPYgf0qFWnw==} engines: {node: ^14.21.3 || >=16} - '@noble/hashes@1.5.0': - resolution: {integrity: sha512-1j6kQFb7QRru7eKN3ZDvRcP13rugwdxZqCjbiAVZfIJwgj2A65UmT4TgARXGlXgnRkORLTDTrO19ZErt7+QXgA==} + '@noble/hashes@1.6.0': + resolution: {integrity: sha512-YUULf0Uk4/mAA89w+k3+yUYh6NrEvxZa5T6SY3wlMvE2chHkxFUUIDI8/XW1QSC357iA5pSnqt7XEhvFOqmDyQ==} engines: {node: ^14.21.3 || >=16} - '@orbitdb/core@2.3.0': - resolution: {integrity: sha512-vImvXIlE5PpPDu6eLhe2T6/tsTZK1juL/X/twzPX65L0GGuEjVy3MXk/fd7YF+6/4d6J6+eOLJqafvUiMugnfg==} + '@noble/hashes@1.6.1': + resolution: {integrity: sha512-pq5D8h10hHBjyqX+cfBm0i8JUXJ0UhczFc4r74zbuT9XgewFo2E3J1cOaGtdZynILNmQ685YWGzGE1Zv6io50w==} + engines: {node: ^14.21.3 || >=16} + + '@orbitdb/core@2.4.3': + resolution: {integrity: sha512-pRHDJlODTy35nySEAPhTjzZIKQ7eedwCIoplmEXs1rW3KYqMHNQaNxrIc1uBMw9cRsPTeIGwxTUkvXfhhaf35Q==} engines: {node: '>=20.0.0'} '@peculiar/asn1-cms@2.3.13': @@ -1134,8 +1144,8 @@ packages: '@types/murmurhash3js-revisited@3.0.3': resolution: {integrity: sha512-QvlqvYtGBYIDeO8dFdY4djkRubcrc+yTJtBc7n8VZPlJDUS/00A+PssbvERM8f9bYRmcaSEHPZgZojeQj7kzAA==} - '@types/node@22.8.1': - resolution: {integrity: sha512-k6Gi8Yyo8EtrNtkHXutUu2corfDf9su95VYVP10aGYMMROM6SAItZi0w1XszA6RtWTHSVp5OeFof37w0IEqCQg==} + '@types/node@22.9.3': + resolution: {integrity: sha512-F3u1fs/fce3FFk+DAxbxc78DF8x0cY09RRL8GnXLmkJ1jvx3TtPdWoTT5/NiYfI5ASqXBmfqJi9dZ3gxMx4lzw==} '@types/retry@0.12.2': resolution: {integrity: sha512-XISRgDJ2Tc5q4TRqvgJtzsRkFYNJzZrhTdtMoGVBttwzzQJkPnS3WWTFc7kuDRoPtPakl+T+OfdEUjYJj7Jbow==} @@ -1149,8 +1159,8 @@ packages: '@types/stack-utils@2.0.3': resolution: {integrity: sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==} - '@types/ws@8.5.12': - resolution: {integrity: sha512-3tPRkv1EtkDpzlgyKyI8pGsGZAGPEaXeu0DOj5DI25Ja91bdAYddYHbADRYVrZMRbfW+1l5YwXVDKohDJNQxkQ==} + '@types/ws@8.5.13': + resolution: {integrity: sha512-osM/gWBTPKgHV8XkTunnegTRIsvF6owmf5w+JtAfOw472dptdm0dlGv4xCt6GwQRcC2XVOvvRE/0bAoQcL2QkA==} '@types/yargs-parser@21.0.3': resolution: {integrity: sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==} @@ -1165,6 +1175,9 @@ packages: resolution: {integrity: sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==} engines: {node: '>=6.5'} + abort-error@1.0.0: + resolution: {integrity: sha512-PMKqKW8CHeXFYW9GdeavZbOt2qE3/UTv5FKk8PGK583pRmvdGq/d8M9UpLBzAL95Ss3Fe3LvGjLhWeWo9d0QAg==} + abstract-level@1.0.4: resolution: {integrity: sha512-eUP/6pbXBkMbXFdx4IH2fVgvB7M0JvR7/lIL33zcs0IBcwjdzSSl31TOJsaCzmKSSDF9h8QYSOJux4Nd4YJqFg==} engines: {node: '>=12'} @@ -1241,8 +1254,8 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 - babel-plugin-polyfill-corejs2@0.4.11: - resolution: {integrity: sha512-sMEJ27L0gRHShOh5G54uAAPaiCOygY/5ratXuiyb2G46FmlSpc9eFCzYVyDiPxfNbwzA7mYahmjQc5q+CZQ09Q==} + babel-plugin-polyfill-corejs2@0.4.12: + resolution: {integrity: sha512-CPWT6BwvhrTO2d8QVorhTCQw9Y43zOu7G9HigcfxvepOU6b8o3tcWad6oVgZIsZCTt42FFv97aA7ZJsbM4+8og==} peerDependencies: '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 @@ -1261,8 +1274,8 @@ packages: peerDependencies: '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 - babel-plugin-polyfill-regenerator@0.6.2: - resolution: {integrity: sha512-2R25rQZWP63nGwaAswvDazbPXfrM3HwVoBXK6HcqeKrSrL/JqcC/rDcf95l4r7LXLyxDXc8uQDa064GubtCABg==} + babel-plugin-polyfill-regenerator@0.6.3: + resolution: {integrity: sha512-LiWSbl4CRSIa5x/JAU6jZiG9eit9w6mz+yVMFwDE83LAWvt0AfGBoZ7HS/mkhrKuh2ZlzfVZYKoLjXdqw6Yt7Q==} peerDependencies: '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 @@ -1311,8 +1324,8 @@ packages: buffer@6.0.3: resolution: {integrity: sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==} - bytes@3.0.0: - resolution: {integrity: sha512-pMhOfFDPiv9t5jjIXkHosWmkSyQbvsgEVNkz0ERHbuLh2T/7j4Mqqpz523Fe8MVY89KC6Sh/QfS2sM+SjgFDcw==} + bytes@3.1.2: + resolution: {integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==} engines: {node: '>= 0.8'} caller-callsite@2.0.0: @@ -1335,8 +1348,8 @@ packages: resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==} engines: {node: '>=10'} - caniuse-lite@1.0.30001673: - resolution: {integrity: sha512-WTrjUCSMp3LYX0nE12ECkV0a+e6LC85E0Auz75555/qr78Oc8YWhEPNfDd6SHdtlCMSzqtuXY0uyEMNRcsKpKw==} + caniuse-lite@1.0.30001684: + resolution: {integrity: sha512-G1LRwLIQjBQoyq0ZJGqGIJUXzJ8irpbjHLpVRXDvBEScFJ9b17sgK6vlx0GAJFE21okD7zXl08rRRUfq6HdoEQ==} catering@2.1.1: resolution: {integrity: sha512-K7Qy8O9p76sL3/3m7/zLKbRkyOlSZAgzEaLhyj2mXS8PsCud2Eo4hAb8aLtZqHh0QGqLcb9dlJSu6lHRVENm1w==} @@ -1432,8 +1445,8 @@ packages: resolution: {integrity: sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg==} engines: {node: '>= 0.6'} - compression@1.7.4: - resolution: {integrity: sha512-jaSIDzP9pZVS4ZfQ+TzvtiWhdpFhE2RDHz8QJkpX9SIpLq88VueF5jJw6t+6CUQcAoA6t+x89MLrWAqpfDE8iQ==} + compression@1.7.5: + resolution: {integrity: sha512-bQJ0YRck5ak3LgtnpKkiabX5pNF7tMUh1BSy2ZBOTh0Dim0BUu6aPPwByIns6/A5Prh8PufSPerMDUklpzes2Q==} engines: {node: '>= 0.8.0'} concat-map@0.0.1: @@ -1450,8 +1463,8 @@ packages: convert-source-map@2.0.0: resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} - core-js-compat@3.38.1: - resolution: {integrity: sha512-JRH6gfXxGmrzF3tZ57lFx97YARxCXPaMzPo6jELZhv88pBH5VXpQ+y0znKGlFnzuaihqhLbefxSJxWJMPtfDzw==} + core-js-compat@3.39.0: + resolution: {integrity: sha512-VgEUx3VwlExr5no0tXlBt+silBvhTryPwCXRI2Id1PN8WTKu7MreethvddqOubrYxkFdv/RnYrqlv1sFNAUelw==} core-util-is@1.0.3: resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} @@ -1460,8 +1473,8 @@ packages: resolution: {integrity: sha512-H65gsXo1SKjf8zmrJ67eJk8aIRKV5ff2D4uKZIBZShbhGSpEmsQOPW/SKMKYhSTrqR7ufy6RP69rPogdaPh/kA==} engines: {node: '>=4'} - cross-spawn@7.0.3: - resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==} + cross-spawn@7.0.6: + resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==} engines: {node: '>= 8'} datastore-core@10.0.2: @@ -1552,8 +1565,8 @@ packages: ee-first@1.1.1: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} - electron-to-chromium@1.5.47: - resolution: {integrity: sha512-zS5Yer0MOYw4rtK2iq43cJagHZ8sXN0jDHDKzB+86gSBSAI4v07S97mcq+Gs2vclAxSh1j7vOAHxSVgduiiuVQ==} + electron-to-chromium@1.5.64: + resolution: {integrity: sha512-IXEuxU+5ClW2IGEYFC2T7szbyVgehupCWQe5GNh+H065CD6U6IFN0s4KeAMFGNmQolRU4IV7zGBWSYMmZ8uuqQ==} emoji-regex@8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} @@ -1752,8 +1765,8 @@ packages: resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==} engines: {node: '>= 0.4'} - helia@5.1.0: - resolution: {integrity: sha512-FqL+vtBpB3FQVmc0vTAtfneL6oAcWSkJCG+NVgTPeQ88jm+hLZXXqjUGVgI8aF8Wc3533gEBF2c8Y8+QN6K90Q==} + helia@5.1.1: + resolution: {integrity: sha512-xS+tk35ql+TovLGHvSt4pqERynD/E7wZm+319JPSripbNEMceNTTFkb74jlxmVJEWw570Fi9fnfmErvf3rhR2Q==} hermes-estree@0.15.0: resolution: {integrity: sha512-lLYvAd+6BnOqWdnNbP/Q8xfl8LOGw4wVjfrNd9Gt8eoFzhNBRVD95n4l2ksfMVOoxuVyegs85g83KS9QOsxbVQ==} @@ -2094,8 +2107,8 @@ packages: resolution: {integrity: sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==} engines: {node: '>=6'} - libp2p@2.1.10: - resolution: {integrity: sha512-uiSNXse7Hphoy+SBllRZi2wuPyNcOsOT3MGm7zwT2cepT+OofpUd4g1AgKlQqmQnW4YSMQTtOgMxFpaBligtbA==} + libp2p@2.3.1: + resolution: {integrity: sha512-b8SydqWzScHXiS5A+c29w2JGbkYBajW+AGFmWmtaF5r53ZpMTetnPmlczkT7D2Zd9+k4yKC7plGBWBNku/KNXQ==} lighthouse-logger@1.4.2: resolution: {integrity: sha512-gPWxznF6TKmUHrOQjlVo2UbaL2EJ71mb2CCeRs/2qBpi4L/g4LUVc9+3lKQ6DTUZwJswfM7ainGrLO1+fOqa2g==} @@ -2299,15 +2312,15 @@ packages: resolution: {integrity: sha512-eajQ/ZH7qXZQR2AgtfpmSMizQzmyYVmCql7pdhldPuYQi4atACekbJaQplk6dWyIi10jCaFnd6pqvcEFXjbaJw==} engines: {node: '>=16.0.0', npm: '>=7.0.0'} - multiformats@13.3.0: - resolution: {integrity: sha512-CBiqvsufgmpo01VT5ze94O+uc+Pbf6f/sThlvWss0sBZmAOu6GQn5usrYV2sf2mr17FWYc0rO8c/CNe2T90QAA==} + multiformats@13.3.1: + resolution: {integrity: sha512-QxowxTNwJ3r5RMctoGA5p13w5RbRT2QDkoM+yFlqfLiioBp78nhDjnRLvmSBI9+KAqN4VdgOVWM9c0CHd86m3g==} murmurhash3js-revisited@3.0.0: resolution: {integrity: sha512-/sF3ee6zvScXMb1XFJ8gDsSnY+X8PbOyjIuBhtgis10W2Jx4ZjIhikUCIF9c4gpJxVnQIsPAFrSwTCuAjicP6g==} engines: {node: '>=8.0.0'} - nanoid@5.0.7: - resolution: {integrity: sha512-oLxFY2gd2IqnjcYyOXD8XGCftpGtZP2AbHbOkthDkvRywH5ayNtPVy9YlOPcHckXzbLTCHpkb7FB+yuxKV13pQ==} + nanoid@5.0.8: + resolution: {integrity: sha512-TcJPw+9RV9dibz1hHUzlLVy8N4X9TnwirAjrU08Juo6BNKggzVfP2ZJ/3ZUSq15Xl5i85i+Z89XBO90pB2PghQ==} engines: {node: ^18 || >=20} hasBin: true @@ -2321,6 +2334,10 @@ packages: resolution: {integrity: sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==} engines: {node: '>= 0.6'} + negotiator@0.6.4: + resolution: {integrity: sha512-myRT3DiWPHqho5PrJaIRyaMv2kgYf0mUVgBNOYMuCH5Ki1yEiQaf/ZJuQ62nvpc44wL5WDbTX7yGJi1Neevw8w==} + engines: {node: '>= 0.6'} + neo-async@2.6.2: resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} @@ -2360,8 +2377,8 @@ packages: encoding: optional: true - node-gyp-build@4.8.2: - resolution: {integrity: sha512-IRUxE4BVsHWXkV/SFOut4qTlagw2aM8T5/vnTsmrHJvVoKueJHRc/JaFND7QDDc61kLYUJ6qlZM3sqTSyx2dTw==} + node-gyp-build@4.8.4: + resolution: {integrity: sha512-LA4ZjwlnUblHVgq0oBF3Jl/6h/Nvs5fzBLwdEF4nuxnFdsfajde4WfxtJr3CaiH+F6ewcIB/q4jQ4UzPyid+CQ==} hasBin: true node-int64@0.4.0: @@ -2468,8 +2485,8 @@ packages: resolution: {integrity: sha512-NXzu9aQJTAzbBqOt2hwsR63ea7yvxJc0PwN/zobNAudYfb1B7R08SzB4TsLeSbUCuG467NhnoT0oO6w1qRO+BA==} engines: {node: '>=18'} - p-retry@6.2.0: - resolution: {integrity: sha512-JA6nkq6hKyWLLasXQXUrO4z8BUZGUt/LjlJxx8Gb2+2ntodU/SS63YZ8b0LUTbQ8ZB9iwOfhEPhg4ykKnn2KsA==} + p-retry@6.2.1: + resolution: {integrity: sha512-hEt02O4hUct5wtwg4H4KcWgDdm+l1bOaEy/hWzd8xtXB9BqxTWBBhb+2ImAtH4Cv4rPjV76xN3Zumqk3k3AhhQ==} engines: {node: '>=16.17'} p-timeout@6.1.3: @@ -2565,8 +2582,8 @@ packages: pump@3.0.2: resolution: {integrity: sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw==} - pvtsutils@1.3.5: - resolution: {integrity: sha512-ARvb14YB9Nm2Xi6nBq1ZX6dAM0FsJnuk+31aUp4TrcZEdKUlSqOqsxJHUPJDNE3qiIp+iUPEIeR6Je/tgV7zsA==} + pvtsutils@1.3.6: + resolution: {integrity: sha512-PLgQXQ6H2FWCaeRak8vvk1GW462lMxB5s3Jm673N82zI4vqtVUPuZdffdZbPDFRoU8kAhItWFtPCWiPpp4/EDg==} pvutils@1.1.3: resolution: {integrity: sha512-pMpnA0qRdFp32b1sJl1wOJNxZLQ2cbQx+k6tjNtZ8CpvVhNqEPRgivZ2WOUev2YMajecdH7ctUPDvEe87nariQ==} @@ -2662,15 +2679,15 @@ packages: regenerator-transform@0.15.2: resolution: {integrity: sha512-hfMp2BoF0qOk3uc5V20ALGDS2ddjQaLrdl7xrGXvAIow7qeWRM2VA2HuCHkUKk9slq3VwEwLNK3DFBqDfPGYtg==} - regexpu-core@6.1.1: - resolution: {integrity: sha512-k67Nb9jvwJcJmVpw0jPttR1/zVfnKf8Km0IPatrU/zJ5XeG3+Slx0xLXs9HByJSzXzrlz5EDvN6yLNMDc2qdnw==} + regexpu-core@6.2.0: + resolution: {integrity: sha512-H66BPQMrv+V16t8xtmq+UC0CBpiTBA60V8ibS1QVReIp8T1z8hwFxqcGzm9K6lgsN7sB5edVH8a+ze6Fqm4weA==} engines: {node: '>=4'} regjsgen@0.8.0: resolution: {integrity: sha512-RvwtGe3d7LvWiDQXeQw8p5asZUmfU1G/l6WbUXeHta7Y2PEIvBTwH6E2EfmYUK8pxcxEdEmaomqyp0vZZ7C+3Q==} - regjsparser@0.11.2: - resolution: {integrity: sha512-3OGZZ4HoLJkkAZx/48mTXJNlmqTGOzc0o9OWQPuWpkOlXXPbyN6OafCcoXUnBqE2D3f/T5L+pWc1kdEmnfnRsA==} + regjsparser@0.12.0: + resolution: {integrity: sha512-cnE+y8bz4NhMjISKbgeVJtqNbtf5QpjZP+Bslo+UqkIt9QPnX9q095eiRRASJG1/tz6dlNr6Z5NsBiWYokp6EQ==} hasBin: true require-directory@2.1.1: @@ -2932,6 +2949,9 @@ packages: resolution: {integrity: sha512-4oGOVZWTu5sl89PtCDnhQBSt7/vL1zVEwAfxH1p49JhTosxzVQWYBYFRFZ8nJmo0G6f824iyP/44BFAwIoKvIA==} engines: {node: '>= 4.5.0'} + tiny-typed-emitter@2.1.0: + resolution: {integrity: sha512-qVtvMxeXbVej0cQWKqVSSAHmKZEHAvxdF8HEUBFWts8h+xEo5m/lEiPakuyZ3BnCBjOD8i24kzNOiOLLgsSxhA==} + tmpl@1.0.5: resolution: {integrity: sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==} @@ -2952,8 +2972,8 @@ packages: tslib@1.14.1: resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==} - tslib@2.8.0: - resolution: {integrity: sha512-jWVzBLplnCmoaTr13V9dYbiQ99wvZRd0vNWaDRg+aVYRcjDF3nDksxFDE/+fkXnKhpnUUkmx5pK/v8mCtLVqZA==} + tslib@2.8.1: + resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} tsyringe@4.8.0: resolution: {integrity: sha512-YB1FG+axdxADa3ncEtRnQCFq/M0lALGLxSZeVNbTU8NqhOVc51nnv2CISTcvc1kyv6EGPtXVr0v6lWeDxiijOA==} @@ -2970,6 +2990,11 @@ packages: resolution: {integrity: sha512-Ne2YiiGN8bmrmJJEuTWTLJR32nh/JdL1+PSicowtNb0WFpn59GK8/lfD61bVtzguz7b3PBt74nxpv/Pw5po5Rg==} engines: {node: '>=8'} + typescript@5.7.2: + resolution: {integrity: sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==} + engines: {node: '>=14.17'} + hasBin: true + uint8-varint@2.0.4: resolution: {integrity: sha512-FwpTa7ZGA/f/EssWAb5/YV6pHgVF1fViKdW8cWaEarjB8t7NyofSWBdOTyFPaGuUG4gx3v1O3PQ8etsiOs3lcw==} @@ -3133,8 +3158,8 @@ packages: yallist@3.1.1: resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} - yaml@2.6.0: - resolution: {integrity: sha512-a6ae//JvKDEra2kdi1qzCyrJW/WZCgFi8ydDV+eXExl95t+5R+ijnqHJbz9tmMh8FUjx3iv2fCQ4dclAQlO2UQ==} + yaml@2.6.1: + resolution: {integrity: sha512-7r0XPzioN/Q9kXBro/XPnA6kznR73DHq+GXh5ON7ZozRO6aMjbmiBuKste2wslTFkC5d1dw0GooOCepZXJ2SAg==} engines: {node: '>= 14'} hasBin: true @@ -3160,19 +3185,22 @@ packages: snapshots: - '@achingbrain/nat-port-mapper@1.0.15': + '@achingbrain/nat-port-mapper@2.0.7': dependencies: - '@achingbrain/ssdp': 4.0.6 - '@libp2p/logger': 5.1.2 + '@achingbrain/ssdp': 4.1.0 + '@libp2p/logger': 5.1.4 + abort-error: 1.0.0 + any-signal: 4.1.1 default-gateway: 7.2.2 err-code: 3.0.1 it-first: 3.0.6 p-defer: 4.0.1 - p-timeout: 6.1.3 + race-signal: 1.1.0 xml2js: 0.6.2 - '@achingbrain/ssdp@4.0.6': + '@achingbrain/ssdp@4.1.0': dependencies: + abort-error: 1.0.0 event-iterator: 2.0.0 freeport-promise: 2.0.0 merge-options: 3.0.4 @@ -3183,23 +3211,23 @@ snapshots: '@jridgewell/gen-mapping': 0.3.5 '@jridgewell/trace-mapping': 0.3.25 - '@babel/code-frame@7.26.0': + '@babel/code-frame@7.26.2': dependencies: '@babel/helper-validator-identifier': 7.25.9 js-tokens: 4.0.0 picocolors: 1.1.1 - '@babel/compat-data@7.26.0': {} + '@babel/compat-data@7.26.2': {} '@babel/core@7.26.0': dependencies: '@ampproject/remapping': 2.3.0 - '@babel/code-frame': 7.26.0 - '@babel/generator': 7.26.0 + '@babel/code-frame': 7.26.2 + '@babel/generator': 7.26.2 '@babel/helper-compilation-targets': 7.25.9 '@babel/helper-module-transforms': 7.26.0(@babel/core@7.26.0) '@babel/helpers': 7.26.0 - '@babel/parser': 7.26.1 + '@babel/parser': 7.26.2 '@babel/template': 7.25.9 '@babel/traverse': 7.25.9 '@babel/types': 7.26.0 @@ -3211,9 +3239,9 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/generator@7.26.0': + '@babel/generator@7.26.2': dependencies: - '@babel/parser': 7.26.1 + '@babel/parser': 7.26.2 '@babel/types': 7.26.0 '@jridgewell/gen-mapping': 0.3.5 '@jridgewell/trace-mapping': 0.3.25 @@ -3232,7 +3260,7 @@ snapshots: '@babel/helper-compilation-targets@7.25.9': dependencies: - '@babel/compat-data': 7.26.0 + '@babel/compat-data': 7.26.2 '@babel/helper-validator-option': 7.25.9 browserslist: 4.24.2 lru-cache: 5.1.1 @@ -3255,7 +3283,7 @@ snapshots: dependencies: '@babel/core': 7.26.0 '@babel/helper-annotate-as-pure': 7.25.9 - regexpu-core: 6.1.1 + regexpu-core: 6.2.0 semver: 6.3.1 '@babel/helper-define-polyfill-provider@0.5.0(@babel/core@7.26.0)': @@ -3269,7 +3297,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/helper-define-polyfill-provider@0.6.2(@babel/core@7.26.0)': + '@babel/helper-define-polyfill-provider@0.6.3(@babel/core@7.26.0)': dependencies: '@babel/core': 7.26.0 '@babel/helper-compilation-targets': 7.25.9 @@ -3364,7 +3392,7 @@ snapshots: '@babel/template': 7.25.9 '@babel/types': 7.26.0 - '@babel/parser@7.26.1': + '@babel/parser@7.26.2': dependencies: '@babel/types': 7.26.0 @@ -3427,7 +3455,7 @@ snapshots: '@babel/plugin-proposal-object-rest-spread@7.20.7(@babel/core@7.26.0)': dependencies: - '@babel/compat-data': 7.26.0 + '@babel/compat-data': 7.26.2 '@babel/core': 7.26.0 '@babel/helper-compilation-targets': 7.25.9 '@babel/helper-plugin-utils': 7.25.9 @@ -3861,9 +3889,9 @@ snapshots: '@babel/core': 7.26.0 '@babel/helper-module-imports': 7.25.9 '@babel/helper-plugin-utils': 7.25.9 - babel-plugin-polyfill-corejs2: 0.4.11(@babel/core@7.26.0) + babel-plugin-polyfill-corejs2: 0.4.12(@babel/core@7.26.0) babel-plugin-polyfill-corejs3: 0.10.6(@babel/core@7.26.0) - babel-plugin-polyfill-regenerator: 0.6.2(@babel/core@7.26.0) + babel-plugin-polyfill-regenerator: 0.6.3(@babel/core@7.26.0) semver: 6.3.1 transitivePeerDependencies: - supports-color @@ -3932,7 +3960,7 @@ snapshots: '@babel/preset-env@7.23.9(@babel/core@7.26.0)': dependencies: - '@babel/compat-data': 7.26.0 + '@babel/compat-data': 7.26.2 '@babel/core': 7.26.0 '@babel/helper-compilation-targets': 7.25.9 '@babel/helper-plugin-utils': 7.25.9 @@ -4008,10 +4036,10 @@ snapshots: '@babel/plugin-transform-unicode-regex': 7.25.9(@babel/core@7.26.0) '@babel/plugin-transform-unicode-sets-regex': 7.25.9(@babel/core@7.26.0) '@babel/preset-modules': 0.1.6-no-external-plugins(@babel/core@7.26.0) - babel-plugin-polyfill-corejs2: 0.4.11(@babel/core@7.26.0) + babel-plugin-polyfill-corejs2: 0.4.12(@babel/core@7.26.0) babel-plugin-polyfill-corejs3: 0.9.0(@babel/core@7.26.0) babel-plugin-polyfill-regenerator: 0.5.5(@babel/core@7.26.0) - core-js-compat: 3.38.1 + core-js-compat: 3.39.0 semver: 6.3.1 transitivePeerDependencies: - supports-color @@ -4056,15 +4084,15 @@ snapshots: '@babel/template@7.25.9': dependencies: - '@babel/code-frame': 7.26.0 - '@babel/parser': 7.26.1 + '@babel/code-frame': 7.26.2 + '@babel/parser': 7.26.2 '@babel/types': 7.26.0 '@babel/traverse@7.25.9': dependencies: - '@babel/code-frame': 7.26.0 - '@babel/generator': 7.26.0 - '@babel/parser': 7.26.1 + '@babel/code-frame': 7.26.2 + '@babel/generator': 7.26.2 + '@babel/parser': 7.26.2 '@babel/template': 7.25.9 '@babel/types': 7.26.0 debug: 4.3.7 @@ -4087,12 +4115,12 @@ snapshots: dependencies: '@chainsafe/as-chacha20poly1305': 0.1.0 '@chainsafe/as-sha256': 0.4.2 - '@libp2p/crypto': 5.0.5 - '@libp2p/interface': 2.1.3 - '@libp2p/peer-id': 5.0.6 + '@libp2p/crypto': 5.0.7 + '@libp2p/interface': 2.2.1 + '@libp2p/peer-id': 5.0.8 '@noble/ciphers': 0.6.0 - '@noble/curves': 1.6.0 - '@noble/hashes': 1.5.0 + '@noble/curves': 1.7.0 + '@noble/hashes': 1.6.1 it-length-prefixed: 9.1.0 it-length-prefixed-stream: 1.2.0 it-pair: 2.0.6 @@ -4105,8 +4133,8 @@ snapshots: '@chainsafe/libp2p-yamux@7.0.1': dependencies: - '@libp2p/interface': 2.1.3 - '@libp2p/utils': 6.1.2 + '@libp2p/interface': 2.2.1 + '@libp2p/utils': 6.2.1 get-iterator: 2.0.1 it-foreach: 2.1.1 it-pushable: 3.2.3 @@ -4123,15 +4151,15 @@ snapshots: dependencies: '@hapi/hoek': 9.3.0 - '@helia/bitswap@2.0.1': + '@helia/bitswap@2.0.2': dependencies: - '@helia/interface': 5.0.0 - '@helia/utils': 1.0.1 - '@libp2p/interface': 2.1.3 - '@libp2p/logger': 5.1.2 - '@libp2p/peer-collections': 6.0.9 - '@libp2p/utils': 6.1.2 - '@multiformats/multiaddr': 12.3.1 + '@helia/interface': 5.1.0 + '@helia/utils': 1.1.0 + '@libp2p/interface': 2.2.1 + '@libp2p/logger': 5.1.4 + '@libp2p/peer-collections': 6.0.12 + '@libp2p/utils': 6.2.1 + '@multiformats/multiaddr': 12.3.3 any-signal: 4.1.1 interface-blockstore: 5.3.1 interface-store: 6.0.2 @@ -4141,7 +4169,7 @@ snapshots: it-map: 3.1.1 it-pipe: 3.0.1 it-take: 3.0.6 - multiformats: 13.3.0 + multiformats: 13.3.1 p-defer: 4.0.1 progress-events: 1.0.1 protons-runtime: 5.5.0 @@ -4150,70 +4178,70 @@ snapshots: uint8arraylist: 2.4.8 uint8arrays: 5.1.0 - '@helia/block-brokers@4.0.1': + '@helia/block-brokers@4.0.2': dependencies: - '@helia/bitswap': 2.0.1 - '@helia/interface': 5.0.0 - '@helia/utils': 1.0.1 - '@libp2p/interface': 2.1.3 - '@libp2p/utils': 6.1.2 - '@multiformats/multiaddr': 12.3.1 - '@multiformats/multiaddr-matcher': 1.3.0 - '@multiformats/multiaddr-to-uri': 10.1.1 + '@helia/bitswap': 2.0.2 + '@helia/interface': 5.1.0 + '@helia/utils': 1.1.0 + '@libp2p/interface': 2.2.1 + '@libp2p/utils': 6.2.1 + '@multiformats/multiaddr': 12.3.3 + '@multiformats/multiaddr-matcher': 1.6.0 + '@multiformats/multiaddr-to-uri': 11.0.0 interface-blockstore: 5.3.1 interface-store: 6.0.2 - multiformats: 13.3.0 + multiformats: 13.3.1 progress-events: 1.0.1 - '@helia/delegated-routing-v1-http-api-client@4.1.1': + '@helia/delegated-routing-v1-http-api-client@4.2.1': dependencies: - '@libp2p/interface': 2.1.3 - '@libp2p/logger': 5.1.2 - '@libp2p/peer-id': 5.0.6 - '@multiformats/multiaddr': 12.3.1 + '@libp2p/interface': 2.2.1 + '@libp2p/logger': 5.1.4 + '@libp2p/peer-id': 5.0.8 + '@multiformats/multiaddr': 12.3.3 any-signal: 4.1.1 browser-readablestream-to-it: 2.0.7 ipns: 10.0.0 it-first: 3.0.6 it-map: 3.1.1 it-ndjson: 1.0.7 - multiformats: 13.3.0 + multiformats: 13.3.1 p-defer: 4.0.1 p-queue: 8.0.1 uint8arrays: 5.1.0 - '@helia/interface@5.0.0': + '@helia/interface@5.1.0': dependencies: - '@libp2p/interface': 2.1.3 + '@libp2p/interface': 2.2.1 '@multiformats/dns': 1.0.6 interface-blockstore: 5.3.1 interface-datastore: 8.3.1 interface-store: 6.0.2 - multiformats: 13.3.0 + multiformats: 13.3.1 progress-events: 1.0.1 - '@helia/routers@2.1.0': + '@helia/routers@2.2.0': dependencies: - '@helia/delegated-routing-v1-http-api-client': 4.1.1 - '@helia/interface': 5.0.0 - '@libp2p/interface': 2.1.3 - '@libp2p/peer-id': 5.0.6 + '@helia/delegated-routing-v1-http-api-client': 4.2.1 + '@helia/interface': 5.1.0 + '@libp2p/interface': 2.2.1 + '@libp2p/peer-id': 5.0.8 '@multiformats/uri-to-multiaddr': 8.0.0 ipns: 10.0.0 it-first: 3.0.6 it-map: 3.1.1 - multiformats: 13.3.0 + multiformats: 13.3.1 uint8arrays: 5.1.0 - '@helia/utils@1.0.1': + '@helia/utils@1.1.0': dependencies: - '@helia/interface': 5.0.0 - '@ipld/dag-cbor': 9.2.1 - '@ipld/dag-json': 10.2.2 - '@ipld/dag-pb': 4.1.2 - '@libp2p/interface': 2.1.3 - '@libp2p/logger': 5.1.2 - '@libp2p/utils': 6.1.2 + '@helia/interface': 5.1.0 + '@ipld/dag-cbor': 9.2.2 + '@ipld/dag-json': 10.2.3 + '@ipld/dag-pb': 4.1.3 + '@libp2p/interface': 2.2.1 + '@libp2p/logger': 5.1.4 + '@libp2p/utils': 6.2.1 '@multiformats/dns': 1.0.6 any-signal: 4.1.1 blockstore-core: 5.0.2 @@ -4226,24 +4254,24 @@ snapshots: it-foreach: 2.1.1 it-merge: 3.0.5 mortice: 3.0.6 - multiformats: 13.3.0 + multiformats: 13.3.1 p-defer: 4.0.1 progress-events: 1.0.1 uint8arrays: 5.1.0 - '@ipld/dag-cbor@9.2.1': + '@ipld/dag-cbor@9.2.2': dependencies: cborg: 4.2.6 - multiformats: 13.3.0 + multiformats: 13.3.1 - '@ipld/dag-json@10.2.2': + '@ipld/dag-json@10.2.3': dependencies: cborg: 4.2.6 - multiformats: 13.3.0 + multiformats: 13.3.1 - '@ipld/dag-pb@4.1.2': + '@ipld/dag-pb@4.1.3': dependencies: - multiformats: 13.3.0 + multiformats: 13.3.1 '@isaacs/ttlcache@1.4.1': {} @@ -4255,14 +4283,14 @@ snapshots: dependencies: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 22.8.1 + '@types/node': 22.9.3 jest-mock: 29.7.0 '@jest/fake-timers@29.7.0': dependencies: '@jest/types': 29.6.3 '@sinonjs/fake-timers': 10.3.0 - '@types/node': 22.8.1 + '@types/node': 22.9.3 jest-message-util: 29.7.0 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -4275,7 +4303,7 @@ snapshots: dependencies: '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 22.8.1 + '@types/node': 22.9.3 '@types/yargs': 15.0.19 chalk: 4.1.2 @@ -4284,7 +4312,7 @@ snapshots: '@jest/schemas': 29.6.3 '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 22.8.1 + '@types/node': 22.9.3 '@types/yargs': 17.0.33 chalk: 4.1.2 @@ -4312,85 +4340,85 @@ snapshots: '@leichtgewicht/ip-codec@2.0.5': {} - '@libp2p/autonat@2.0.9': + '@libp2p/autonat@2.0.12': dependencies: - '@libp2p/interface': 2.1.3 - '@libp2p/interface-internal': 2.0.9 - '@libp2p/peer-id': 5.0.6 - '@libp2p/utils': 6.1.2 - '@multiformats/multiaddr': 12.3.1 + '@libp2p/interface': 2.2.1 + '@libp2p/interface-internal': 2.1.1 + '@libp2p/peer-id': 5.0.8 + '@libp2p/utils': 6.2.1 + '@multiformats/multiaddr': 12.3.3 it-first: 3.0.6 it-length-prefixed: 9.1.0 it-map: 3.1.1 it-parallel: 3.0.8 it-pipe: 3.0.1 - multiformats: 13.3.0 + multiformats: 13.3.1 protons-runtime: 5.5.0 uint8arraylist: 2.4.8 - '@libp2p/bootstrap@11.0.9': + '@libp2p/bootstrap@11.0.13': dependencies: - '@libp2p/interface': 2.1.3 - '@libp2p/interface-internal': 2.0.9 - '@libp2p/peer-id': 5.0.6 + '@libp2p/interface': 2.2.1 + '@libp2p/interface-internal': 2.1.1 + '@libp2p/peer-id': 5.0.8 '@multiformats/mafmt': 12.1.6 - '@multiformats/multiaddr': 12.3.1 - - '@libp2p/circuit-relay-v2@3.0.0': - dependencies: - '@libp2p/crypto': 5.0.5 - '@libp2p/interface': 2.1.3 - '@libp2p/interface-internal': 2.0.9 - '@libp2p/peer-collections': 6.0.9 - '@libp2p/peer-id': 5.0.6 - '@libp2p/peer-record': 8.0.9 - '@libp2p/utils': 6.1.2 - '@multiformats/multiaddr': 12.3.1 - '@multiformats/multiaddr-matcher': 1.3.0 + '@multiformats/multiaddr': 12.3.3 + + '@libp2p/circuit-relay-v2@3.1.3': + dependencies: + '@libp2p/crypto': 5.0.7 + '@libp2p/interface': 2.2.1 + '@libp2p/interface-internal': 2.1.1 + '@libp2p/peer-collections': 6.0.12 + '@libp2p/peer-id': 5.0.8 + '@libp2p/peer-record': 8.0.12 + '@libp2p/utils': 6.2.1 + '@multiformats/multiaddr': 12.3.3 + '@multiformats/multiaddr-matcher': 1.6.0 any-signal: 4.1.1 it-protobuf-stream: 1.1.5 it-stream-types: 2.0.2 - multiformats: 13.3.0 - nanoid: 5.0.7 + multiformats: 13.3.1 + nanoid: 5.0.8 progress-events: 1.0.1 protons-runtime: 5.5.0 retimeable-signal: 0.0.0 uint8arraylist: 2.4.8 uint8arrays: 5.1.0 - '@libp2p/crypto@5.0.5': + '@libp2p/crypto@5.0.7': dependencies: - '@libp2p/interface': 2.1.3 - '@noble/curves': 1.6.0 - '@noble/hashes': 1.5.0 + '@libp2p/interface': 2.2.1 + '@noble/curves': 1.7.0 + '@noble/hashes': 1.6.1 asn1js: 3.0.5 - multiformats: 13.3.0 + multiformats: 13.3.1 protons-runtime: 5.5.0 uint8arraylist: 2.4.8 uint8arrays: 5.1.0 - '@libp2p/dcutr@2.0.9': + '@libp2p/dcutr@2.0.12': dependencies: - '@libp2p/interface': 2.1.3 - '@libp2p/interface-internal': 2.0.9 - '@libp2p/utils': 6.1.2 - '@multiformats/multiaddr': 12.3.1 - '@multiformats/multiaddr-matcher': 1.3.0 + '@libp2p/interface': 2.2.1 + '@libp2p/interface-internal': 2.1.1 + '@libp2p/utils': 6.2.1 + '@multiformats/multiaddr': 12.3.3 + '@multiformats/multiaddr-matcher': 1.6.0 delay: 6.0.0 it-protobuf-stream: 1.1.5 protons-runtime: 5.5.0 uint8arraylist: 2.4.8 - '@libp2p/identify@3.0.9': + '@libp2p/identify@3.0.12': dependencies: - '@libp2p/crypto': 5.0.5 - '@libp2p/interface': 2.1.3 - '@libp2p/interface-internal': 2.0.9 - '@libp2p/peer-id': 5.0.6 - '@libp2p/peer-record': 8.0.9 - '@libp2p/utils': 6.1.2 - '@multiformats/multiaddr': 12.3.1 - '@multiformats/multiaddr-matcher': 1.3.0 + '@libp2p/crypto': 5.0.7 + '@libp2p/interface': 2.2.1 + '@libp2p/interface-internal': 2.1.1 + '@libp2p/peer-id': 5.0.8 + '@libp2p/peer-record': 8.0.12 + '@libp2p/utils': 6.2.1 + '@multiformats/multiaddr': 12.3.3 + '@multiformats/multiaddr-matcher': 1.6.0 it-drain: 3.0.7 it-parallel: 3.0.8 it-protobuf-stream: 1.1.5 @@ -4399,35 +4427,34 @@ snapshots: uint8arrays: 5.1.0 wherearewe: 2.0.1 - '@libp2p/interface-internal@2.0.9': + '@libp2p/interface-internal@2.1.1': dependencies: - '@libp2p/interface': 2.1.3 - '@libp2p/peer-collections': 6.0.9 - '@multiformats/multiaddr': 12.3.1 + '@libp2p/interface': 2.2.1 + '@libp2p/peer-collections': 6.0.12 + '@multiformats/multiaddr': 12.3.3 progress-events: 1.0.1 uint8arraylist: 2.4.8 - '@libp2p/interface@2.1.3': + '@libp2p/interface@2.2.1': dependencies: - '@multiformats/multiaddr': 12.3.1 + '@multiformats/multiaddr': 12.3.3 it-pushable: 3.2.3 it-stream-types: 2.0.2 - multiformats: 13.3.0 + multiformats: 13.3.1 progress-events: 1.0.1 uint8arraylist: 2.4.8 - '@libp2p/kad-dht@14.0.2': + '@libp2p/kad-dht@14.1.3': dependencies: - '@libp2p/crypto': 5.0.5 - '@libp2p/interface': 2.1.3 - '@libp2p/interface-internal': 2.0.9 - '@libp2p/peer-collections': 6.0.9 - '@libp2p/peer-id': 5.0.6 + '@libp2p/crypto': 5.0.7 + '@libp2p/interface': 2.2.1 + '@libp2p/interface-internal': 2.1.1 + '@libp2p/peer-collections': 6.0.12 + '@libp2p/peer-id': 5.0.8 '@libp2p/record': 4.0.4 - '@libp2p/utils': 6.1.2 - '@multiformats/multiaddr': 12.3.1 + '@libp2p/utils': 6.2.1 + '@multiformats/multiaddr': 12.3.3 any-signal: 4.1.1 - hashlru: 2.3.0 interface-datastore: 8.3.1 it-drain: 3.0.7 it-length: 3.0.6 @@ -4438,10 +4465,10 @@ snapshots: it-pipe: 3.0.1 it-protobuf-stream: 1.1.5 it-take: 3.0.6 - multiformats: 13.3.0 + mortice: 3.0.6 + multiformats: 13.3.1 p-defer: 4.0.1 p-event: 6.0.1 - p-queue: 8.0.1 progress-events: 1.0.1 protons-runtime: 5.5.0 race-signal: 1.1.0 @@ -4449,41 +4476,41 @@ snapshots: uint8arraylist: 2.4.8 uint8arrays: 5.1.0 - '@libp2p/keychain@5.0.8': + '@libp2p/keychain@5.0.10': dependencies: - '@libp2p/crypto': 5.0.5 - '@libp2p/interface': 2.1.3 - '@noble/hashes': 1.5.0 + '@libp2p/crypto': 5.0.7 + '@libp2p/interface': 2.2.1 + '@noble/hashes': 1.6.1 asn1js: 3.0.5 interface-datastore: 8.3.1 merge-options: 3.0.4 - multiformats: 13.3.0 + multiformats: 13.3.1 sanitize-filename: 1.6.3 uint8arrays: 5.1.0 - '@libp2p/logger@5.1.2': + '@libp2p/logger@5.1.4': dependencies: - '@libp2p/interface': 2.1.3 - '@multiformats/multiaddr': 12.3.1 + '@libp2p/interface': 2.2.1 + '@multiformats/multiaddr': 12.3.3 interface-datastore: 8.3.1 - multiformats: 13.3.0 + multiformats: 13.3.1 weald: 1.0.4 - '@libp2p/mdns@11.0.9': + '@libp2p/mdns@11.0.13': dependencies: - '@libp2p/interface': 2.1.3 - '@libp2p/interface-internal': 2.0.9 - '@libp2p/peer-id': 5.0.6 - '@libp2p/utils': 6.1.2 - '@multiformats/multiaddr': 12.3.1 + '@libp2p/interface': 2.2.1 + '@libp2p/interface-internal': 2.1.1 + '@libp2p/peer-id': 5.0.8 + '@libp2p/utils': 6.2.1 + '@multiformats/multiaddr': 12.3.3 '@types/multicast-dns': 7.2.4 dns-packet: 5.6.1 multicast-dns: 7.2.5 - '@libp2p/mplex@11.0.9': + '@libp2p/mplex@11.0.13': dependencies: - '@libp2p/interface': 2.1.3 - '@libp2p/utils': 6.1.2 + '@libp2p/interface': 2.2.1 + '@libp2p/utils': 6.2.1 it-pipe: 3.0.1 it-pushable: 3.2.3 it-stream-types: 2.0.2 @@ -4491,9 +4518,9 @@ snapshots: uint8arraylist: 2.4.8 uint8arrays: 5.1.0 - '@libp2p/multistream-select@6.0.7': + '@libp2p/multistream-select@6.0.9': dependencies: - '@libp2p/interface': 2.1.3 + '@libp2p/interface': 2.2.1 it-length-prefixed: 9.1.0 it-length-prefixed-stream: 1.2.0 it-stream-types: 2.0.2 @@ -4503,55 +4530,54 @@ snapshots: uint8arraylist: 2.4.8 uint8arrays: 5.1.0 - '@libp2p/peer-collections@6.0.9': + '@libp2p/peer-collections@6.0.12': dependencies: - '@libp2p/interface': 2.1.3 - '@libp2p/peer-id': 5.0.6 - '@libp2p/utils': 6.1.2 - multiformats: 13.3.0 + '@libp2p/interface': 2.2.1 + '@libp2p/peer-id': 5.0.8 + '@libp2p/utils': 6.2.1 + multiformats: 13.3.1 - '@libp2p/peer-id@5.0.6': + '@libp2p/peer-id@5.0.8': dependencies: - '@libp2p/crypto': 5.0.5 - '@libp2p/interface': 2.1.3 - multiformats: 13.3.0 + '@libp2p/crypto': 5.0.7 + '@libp2p/interface': 2.2.1 + multiformats: 13.3.1 uint8arrays: 5.1.0 - '@libp2p/peer-record@8.0.9': + '@libp2p/peer-record@8.0.12': dependencies: - '@libp2p/crypto': 5.0.5 - '@libp2p/interface': 2.1.3 - '@libp2p/peer-id': 5.0.6 - '@libp2p/utils': 6.1.2 - '@multiformats/multiaddr': 12.3.1 - multiformats: 13.3.0 + '@libp2p/crypto': 5.0.7 + '@libp2p/interface': 2.2.1 + '@libp2p/peer-id': 5.0.8 + '@libp2p/utils': 6.2.1 + '@multiformats/multiaddr': 12.3.3 + multiformats: 13.3.1 protons-runtime: 5.5.0 uint8-varint: 2.0.4 uint8arraylist: 2.4.8 uint8arrays: 5.1.0 - '@libp2p/peer-store@11.0.9': + '@libp2p/peer-store@11.0.12': dependencies: - '@libp2p/crypto': 5.0.5 - '@libp2p/interface': 2.1.3 - '@libp2p/peer-collections': 6.0.9 - '@libp2p/peer-id': 5.0.6 - '@libp2p/peer-record': 8.0.9 - '@multiformats/multiaddr': 12.3.1 + '@libp2p/crypto': 5.0.7 + '@libp2p/interface': 2.2.1 + '@libp2p/peer-id': 5.0.8 + '@libp2p/peer-record': 8.0.12 + '@multiformats/multiaddr': 12.3.3 interface-datastore: 8.3.1 it-all: 3.0.6 mortice: 3.0.6 - multiformats: 13.3.0 + multiformats: 13.3.1 protons-runtime: 5.5.0 uint8arraylist: 2.4.8 uint8arrays: 5.1.0 - '@libp2p/ping@2.0.9': + '@libp2p/ping@2.0.12': dependencies: - '@libp2p/crypto': 5.0.5 - '@libp2p/interface': 2.1.3 - '@libp2p/interface-internal': 2.0.9 - '@multiformats/multiaddr': 12.3.1 + '@libp2p/crypto': 5.0.7 + '@libp2p/interface': 2.2.1 + '@libp2p/interface-internal': 2.1.1 + '@multiformats/multiaddr': 12.3.3 it-byte-stream: 1.1.0 uint8arrays: 5.1.0 @@ -4561,12 +4587,12 @@ snapshots: uint8arraylist: 2.4.8 uint8arrays: 5.1.0 - '@libp2p/tcp@10.0.10': + '@libp2p/tcp@10.0.13': dependencies: - '@libp2p/interface': 2.1.3 - '@libp2p/utils': 6.1.2 + '@libp2p/interface': 2.2.1 + '@libp2p/utils': 6.2.1 '@multiformats/mafmt': 12.1.6 - '@multiformats/multiaddr': 12.3.1 + '@multiformats/multiaddr': 12.3.3 '@types/sinon': 17.0.3 p-defer: 4.0.1 p-event: 6.0.1 @@ -4574,11 +4600,11 @@ snapshots: race-event: 1.3.0 stream-to-it: 1.0.1 - '@libp2p/tls@2.0.9': + '@libp2p/tls@2.0.11': dependencies: - '@libp2p/crypto': 5.0.5 - '@libp2p/interface': 2.1.3 - '@libp2p/peer-id': 5.0.6 + '@libp2p/crypto': 5.0.7 + '@libp2p/interface': 2.2.1 + '@libp2p/peer-id': 5.0.8 '@peculiar/asn1-schema': 2.3.13 '@peculiar/asn1-x509': 2.3.13 '@peculiar/webcrypto': 1.5.0 @@ -4590,22 +4616,25 @@ snapshots: uint8arraylist: 2.4.8 uint8arrays: 5.1.0 - '@libp2p/upnp-nat@2.0.9': + '@libp2p/upnp-nat@2.0.12': dependencies: - '@achingbrain/nat-port-mapper': 1.0.15 - '@libp2p/interface': 2.1.3 - '@libp2p/interface-internal': 2.0.9 - '@libp2p/utils': 6.1.2 - '@multiformats/multiaddr': 12.3.1 - wherearewe: 2.0.1 + '@achingbrain/nat-port-mapper': 2.0.7 + '@chainsafe/is-ip': 2.0.2 + '@libp2p/interface': 2.2.1 + '@libp2p/interface-internal': 2.1.1 + '@libp2p/utils': 6.2.1 + '@multiformats/multiaddr': 12.3.3 + '@multiformats/multiaddr-matcher': 1.6.0 + p-defer: 4.0.1 + race-signal: 1.1.0 - '@libp2p/utils@6.1.2': + '@libp2p/utils@6.2.1': dependencies: '@chainsafe/is-ip': 2.0.2 - '@libp2p/crypto': 5.0.5 - '@libp2p/interface': 2.1.3 - '@libp2p/logger': 5.1.2 - '@multiformats/multiaddr': 12.3.1 + '@libp2p/crypto': 5.0.7 + '@libp2p/interface': 2.2.1 + '@libp2p/logger': 5.1.4 + '@multiformats/multiaddr': 12.3.3 '@sindresorhus/fnv1a': 3.1.0 '@types/murmurhash3js-revisited': 3.0.3 any-signal: 4.1.1 @@ -4624,22 +4653,21 @@ snapshots: uint8arraylist: 2.4.8 uint8arrays: 5.1.0 - '@libp2p/webrtc@5.0.14(react-native@0.73.3(@babel/core@7.26.0)(@babel/preset-env@7.23.9(@babel/core@7.26.0))(react@18.2.0))': + '@libp2p/webrtc@5.0.19(react-native@0.73.3(@babel/core@7.26.0)(@babel/preset-env@7.23.9(@babel/core@7.26.0))(react@18.2.0))': dependencies: '@chainsafe/libp2p-noise': 16.0.0 - '@libp2p/interface': 2.1.3 - '@libp2p/interface-internal': 2.0.9 - '@libp2p/peer-id': 5.0.6 - '@libp2p/utils': 6.1.2 - '@multiformats/mafmt': 12.1.6 - '@multiformats/multiaddr': 12.3.1 - '@multiformats/multiaddr-matcher': 1.3.0 + '@libp2p/interface': 2.2.1 + '@libp2p/interface-internal': 2.1.1 + '@libp2p/peer-id': 5.0.8 + '@libp2p/utils': 6.2.1 + '@multiformats/multiaddr': 12.3.3 + '@multiformats/multiaddr-matcher': 1.6.0 detect-browser: 5.3.0 it-length-prefixed: 9.1.0 it-protobuf-stream: 1.1.5 it-pushable: 3.2.3 it-stream-types: 2.0.2 - multiformats: 13.3.0 + multiformats: 13.3.1 node-datachannel: 0.11.0 p-defer: 4.0.1 p-event: 6.0.1 @@ -4655,14 +4683,14 @@ snapshots: - react-native - supports-color - '@libp2p/websockets@9.0.9': + '@libp2p/websockets@9.0.13': dependencies: - '@libp2p/interface': 2.1.3 - '@libp2p/utils': 6.1.2 - '@multiformats/mafmt': 12.1.6 - '@multiformats/multiaddr': 12.3.1 - '@multiformats/multiaddr-to-uri': 10.1.1 - '@types/ws': 8.5.12 + '@libp2p/interface': 2.2.1 + '@libp2p/utils': 6.2.1 + '@multiformats/multiaddr': 12.3.3 + '@multiformats/multiaddr-matcher': 1.6.0 + '@multiformats/multiaddr-to-uri': 10.1.2 + '@types/ws': 8.5.13 it-ws: 6.1.5 p-defer: 4.0.1 progress-events: 1.0.1 @@ -4673,21 +4701,6 @@ snapshots: - bufferutil - utf-8-validate - '@libp2p/webtransport@5.0.14': - dependencies: - '@chainsafe/libp2p-noise': 16.0.0 - '@libp2p/interface': 2.1.3 - '@libp2p/peer-id': 5.0.6 - '@libp2p/utils': 6.1.2 - '@multiformats/multiaddr': 12.3.1 - '@multiformats/multiaddr-matcher': 1.3.0 - it-stream-types: 2.0.2 - multiformats: 13.3.0 - progress-events: 1.0.1 - race-signal: 1.1.0 - uint8arraylist: 2.4.8 - uint8arrays: 5.1.0 - '@multiformats/dns@1.0.6': dependencies: '@types/dns-packet': 5.6.5 @@ -4700,44 +4713,50 @@ snapshots: '@multiformats/mafmt@12.1.6': dependencies: - '@multiformats/multiaddr': 12.3.1 + '@multiformats/multiaddr': 12.3.3 - '@multiformats/multiaddr-matcher@1.3.0': + '@multiformats/multiaddr-matcher@1.6.0': dependencies: '@chainsafe/is-ip': 2.0.2 - '@multiformats/multiaddr': 12.3.1 - multiformats: 13.3.0 + '@multiformats/multiaddr': 12.3.3 + multiformats: 13.3.1 - '@multiformats/multiaddr-to-uri@10.1.1': + '@multiformats/multiaddr-to-uri@10.1.2': dependencies: - '@multiformats/multiaddr': 12.3.1 + '@multiformats/multiaddr': 12.3.3 - '@multiformats/multiaddr@12.3.1': + '@multiformats/multiaddr-to-uri@11.0.0': + dependencies: + '@multiformats/multiaddr': 12.3.3 + + '@multiformats/multiaddr@12.3.3': dependencies: '@chainsafe/is-ip': 2.0.2 '@chainsafe/netmask': 2.0.0 '@multiformats/dns': 1.0.6 - multiformats: 13.3.0 + multiformats: 13.3.1 uint8-varint: 2.0.4 uint8arrays: 5.1.0 '@multiformats/uri-to-multiaddr@8.0.0': dependencies: - '@multiformats/multiaddr': 12.3.1 + '@multiformats/multiaddr': 12.3.3 is-ip: 5.0.1 '@noble/ciphers@0.6.0': {} - '@noble/curves@1.6.0': + '@noble/curves@1.7.0': dependencies: - '@noble/hashes': 1.5.0 + '@noble/hashes': 1.6.0 + + '@noble/hashes@1.6.0': {} - '@noble/hashes@1.5.0': {} + '@noble/hashes@1.6.1': {} - '@orbitdb/core@2.3.0': + '@orbitdb/core@2.4.3': dependencies: - '@ipld/dag-cbor': 9.2.1 - '@libp2p/crypto': 5.0.5 + '@ipld/dag-cbor': 9.2.2 + '@libp2p/crypto': 5.0.7 it-pipe: 3.0.1 level: 8.0.1 lru: 3.1.0 @@ -4752,21 +4771,21 @@ snapshots: '@peculiar/asn1-x509': 2.3.13 '@peculiar/asn1-x509-attr': 2.3.13 asn1js: 3.0.5 - tslib: 2.8.0 + tslib: 2.8.1 '@peculiar/asn1-csr@2.3.13': dependencies: '@peculiar/asn1-schema': 2.3.13 '@peculiar/asn1-x509': 2.3.13 asn1js: 3.0.5 - tslib: 2.8.0 + tslib: 2.8.1 '@peculiar/asn1-ecc@2.3.14': dependencies: '@peculiar/asn1-schema': 2.3.13 '@peculiar/asn1-x509': 2.3.13 asn1js: 3.0.5 - tslib: 2.8.0 + tslib: 2.8.1 '@peculiar/asn1-pfx@2.3.13': dependencies: @@ -4775,14 +4794,14 @@ snapshots: '@peculiar/asn1-rsa': 2.3.13 '@peculiar/asn1-schema': 2.3.13 asn1js: 3.0.5 - tslib: 2.8.0 + tslib: 2.8.1 '@peculiar/asn1-pkcs8@2.3.13': dependencies: '@peculiar/asn1-schema': 2.3.13 '@peculiar/asn1-x509': 2.3.13 asn1js: 3.0.5 - tslib: 2.8.0 + tslib: 2.8.1 '@peculiar/asn1-pkcs9@2.3.13': dependencies: @@ -4793,46 +4812,46 @@ snapshots: '@peculiar/asn1-x509': 2.3.13 '@peculiar/asn1-x509-attr': 2.3.13 asn1js: 3.0.5 - tslib: 2.8.0 + tslib: 2.8.1 '@peculiar/asn1-rsa@2.3.13': dependencies: '@peculiar/asn1-schema': 2.3.13 '@peculiar/asn1-x509': 2.3.13 asn1js: 3.0.5 - tslib: 2.8.0 + tslib: 2.8.1 '@peculiar/asn1-schema@2.3.13': dependencies: asn1js: 3.0.5 - pvtsutils: 1.3.5 - tslib: 2.8.0 + pvtsutils: 1.3.6 + tslib: 2.8.1 '@peculiar/asn1-x509-attr@2.3.13': dependencies: '@peculiar/asn1-schema': 2.3.13 '@peculiar/asn1-x509': 2.3.13 asn1js: 3.0.5 - tslib: 2.8.0 + tslib: 2.8.1 '@peculiar/asn1-x509@2.3.13': dependencies: '@peculiar/asn1-schema': 2.3.13 asn1js: 3.0.5 ipaddr.js: 2.2.0 - pvtsutils: 1.3.5 - tslib: 2.8.0 + pvtsutils: 1.3.6 + tslib: 2.8.1 '@peculiar/json-schema@1.1.12': dependencies: - tslib: 2.8.0 + tslib: 2.8.1 '@peculiar/webcrypto@1.5.0': dependencies: '@peculiar/asn1-schema': 2.3.13 '@peculiar/json-schema': 1.1.12 - pvtsutils: 1.3.5 - tslib: 2.8.0 + pvtsutils: 1.3.6 + tslib: 2.8.1 webcrypto-core: 1.8.1 '@peculiar/x509@1.12.3': @@ -4844,9 +4863,9 @@ snapshots: '@peculiar/asn1-rsa': 2.3.13 '@peculiar/asn1-schema': 2.3.13 '@peculiar/asn1-x509': 2.3.13 - pvtsutils: 1.3.5 + pvtsutils: 1.3.6 reflect-metadata: 0.2.2 - tslib: 2.8.0 + tslib: 2.8.1 tsyringe: 4.8.0 '@react-native-community/cli-clean@12.3.2': @@ -4892,7 +4911,7 @@ snapshots: semver: 7.6.3 strip-ansi: 5.2.0 wcwidth: 1.0.1 - yaml: 2.6.0 + yaml: 2.6.1 transitivePeerDependencies: - encoding @@ -4934,7 +4953,7 @@ snapshots: dependencies: '@react-native-community/cli-debugger-ui': 12.3.2 '@react-native-community/cli-tools': 12.3.2 - compression: 1.7.4 + compression: 1.7.5 connect: 3.7.0 errorhandler: 1.5.1 nocache: 3.0.4 @@ -5051,7 +5070,7 @@ snapshots: '@react-native/codegen@0.73.2(@babel/preset-env@7.23.9(@babel/core@7.26.0))': dependencies: - '@babel/parser': 7.26.1 + '@babel/parser': 7.26.2 '@babel/preset-env': 7.23.9(@babel/core@7.26.0) flow-parser: 0.206.0 glob: 7.2.3 @@ -5145,11 +5164,11 @@ snapshots: '@types/bn.js@5.1.6': dependencies: - '@types/node': 22.8.1 + '@types/node': 22.9.3 '@types/dns-packet@5.6.5': dependencies: - '@types/node': 22.8.1 + '@types/node': 22.9.3 '@types/elliptic@6.4.18': dependencies: @@ -5170,11 +5189,11 @@ snapshots: '@types/multicast-dns@7.2.4': dependencies: '@types/dns-packet': 5.6.5 - '@types/node': 22.8.1 + '@types/node': 22.9.3 '@types/murmurhash3js-revisited@3.0.3': {} - '@types/node@22.8.1': + '@types/node@22.9.3': dependencies: undici-types: 6.19.8 @@ -5188,9 +5207,9 @@ snapshots: '@types/stack-utils@2.0.3': {} - '@types/ws@8.5.12': + '@types/ws@8.5.13': dependencies: - '@types/node': 22.8.1 + '@types/node': 22.9.3 '@types/yargs-parser@21.0.3': {} @@ -5206,6 +5225,8 @@ snapshots: dependencies: event-target-shim: 5.0.1 + abort-error@1.0.0: {} + abstract-level@1.0.4: dependencies: buffer: 6.0.3 @@ -5262,13 +5283,13 @@ snapshots: asn1js@3.0.5: dependencies: - pvtsutils: 1.3.5 + pvtsutils: 1.3.6 pvutils: 1.1.3 - tslib: 2.8.0 + tslib: 2.8.1 ast-types@0.15.2: dependencies: - tslib: 2.8.0 + tslib: 2.8.1 astral-regex@1.0.0: {} @@ -5278,11 +5299,11 @@ snapshots: dependencies: '@babel/core': 7.26.0 - babel-plugin-polyfill-corejs2@0.4.11(@babel/core@7.26.0): + babel-plugin-polyfill-corejs2@0.4.12(@babel/core@7.26.0): dependencies: - '@babel/compat-data': 7.26.0 + '@babel/compat-data': 7.26.2 '@babel/core': 7.26.0 - '@babel/helper-define-polyfill-provider': 0.6.2(@babel/core@7.26.0) + '@babel/helper-define-polyfill-provider': 0.6.3(@babel/core@7.26.0) semver: 6.3.1 transitivePeerDependencies: - supports-color @@ -5290,8 +5311,8 @@ snapshots: babel-plugin-polyfill-corejs3@0.10.6(@babel/core@7.26.0): dependencies: '@babel/core': 7.26.0 - '@babel/helper-define-polyfill-provider': 0.6.2(@babel/core@7.26.0) - core-js-compat: 3.38.1 + '@babel/helper-define-polyfill-provider': 0.6.3(@babel/core@7.26.0) + core-js-compat: 3.39.0 transitivePeerDependencies: - supports-color @@ -5299,7 +5320,7 @@ snapshots: dependencies: '@babel/core': 7.26.0 '@babel/helper-define-polyfill-provider': 0.5.0(@babel/core@7.26.0) - core-js-compat: 3.38.1 + core-js-compat: 3.39.0 transitivePeerDependencies: - supports-color @@ -5310,10 +5331,10 @@ snapshots: transitivePeerDependencies: - supports-color - babel-plugin-polyfill-regenerator@0.6.2(@babel/core@7.26.0): + babel-plugin-polyfill-regenerator@0.6.3(@babel/core@7.26.0): dependencies: '@babel/core': 7.26.0 - '@babel/helper-define-polyfill-provider': 0.6.2(@babel/core@7.26.0) + '@babel/helper-define-polyfill-provider': 0.6.3(@babel/core@7.26.0) transitivePeerDependencies: - supports-color @@ -5335,14 +5356,14 @@ snapshots: blockstore-core@5.0.2: dependencies: - '@libp2p/logger': 5.1.2 + '@libp2p/logger': 5.1.4 interface-blockstore: 5.3.1 interface-store: 6.0.2 it-drain: 3.0.7 it-filter: 3.1.1 it-merge: 3.0.5 it-pushable: 3.2.3 - multiformats: 13.3.0 + multiformats: 13.3.1 brace-expansion@1.1.11: dependencies: @@ -5364,8 +5385,8 @@ snapshots: browserslist@4.24.2: dependencies: - caniuse-lite: 1.0.30001673 - electron-to-chromium: 1.5.47 + caniuse-lite: 1.0.30001684 + electron-to-chromium: 1.5.64 node-releases: 2.0.18 update-browserslist-db: 1.1.1(browserslist@4.24.2) @@ -5385,7 +5406,7 @@ snapshots: base64-js: 1.5.1 ieee754: 1.2.1 - bytes@3.0.0: {} + bytes@3.1.2: {} caller-callsite@2.0.0: dependencies: @@ -5401,7 +5422,7 @@ snapshots: camelcase@6.3.0: {} - caniuse-lite@1.0.30001673: {} + caniuse-lite@1.0.30001684: {} catering@2.1.1: {} @@ -5416,7 +5437,7 @@ snapshots: chrome-launcher@0.15.2: dependencies: - '@types/node': 22.8.1 + '@types/node': 22.9.3 escape-string-regexp: 4.0.0 is-wsl: 2.2.0 lighthouse-logger: 1.4.2 @@ -5425,7 +5446,7 @@ snapshots: chromium-edge-launcher@1.0.0: dependencies: - '@types/node': 22.8.1 + '@types/node': 22.9.3 escape-string-regexp: 4.0.0 is-wsl: 2.2.0 lighthouse-logger: 1.4.2 @@ -5444,7 +5465,7 @@ snapshots: catering: 2.1.1 module-error: 1.0.2 napi-macros: 2.2.2 - node-gyp-build: 4.8.2 + node-gyp-build: 4.8.4 cli-cursor@3.1.0: dependencies: @@ -5502,14 +5523,14 @@ snapshots: dependencies: mime-db: 1.53.0 - compression@1.7.4: + compression@1.7.5: dependencies: - accepts: 1.3.8 - bytes: 3.0.0 + bytes: 3.1.2 compressible: 2.0.18 debug: 2.6.9 + negotiator: 0.6.4 on-headers: 1.0.2 - safe-buffer: 5.1.2 + safe-buffer: 5.2.1 vary: 1.1.2 transitivePeerDependencies: - supports-color @@ -5529,7 +5550,7 @@ snapshots: convert-source-map@2.0.0: {} - core-js-compat@3.38.1: + core-js-compat@3.39.0: dependencies: browserslist: 4.24.2 @@ -5542,7 +5563,7 @@ snapshots: js-yaml: 3.14.1 parse-json: 4.0.0 - cross-spawn@7.0.3: + cross-spawn@7.0.6: dependencies: path-key: 3.1.1 shebang-command: 2.0.0 @@ -5550,7 +5571,7 @@ snapshots: datastore-core@10.0.2: dependencies: - '@libp2p/logger': 5.1.2 + '@libp2p/logger': 5.1.4 interface-datastore: 8.3.1 interface-store: 6.0.2 it-drain: 3.0.7 @@ -5618,7 +5639,7 @@ snapshots: ee-first@1.1.1: {} - electron-to-chromium@1.5.47: {} + electron-to-chromium@1.5.64: {} emoji-regex@8.0.0: {} @@ -5671,7 +5692,7 @@ snapshots: execa@5.1.1: dependencies: - cross-spawn: 7.0.3 + cross-spawn: 7.0.6 get-stream: 6.0.1 human-signals: 2.1.0 is-stream: 2.0.1 @@ -5683,7 +5704,7 @@ snapshots: execa@7.2.0: dependencies: - cross-spawn: 7.0.3 + cross-spawn: 7.0.6 get-stream: 6.0.1 human-signals: 4.3.1 is-stream: 3.0.0 @@ -5797,42 +5818,41 @@ snapshots: dependencies: function-bind: 1.1.2 - helia@5.1.0(react-native@0.73.3(@babel/core@7.26.0)(@babel/preset-env@7.23.9(@babel/core@7.26.0))(react@18.2.0)): + helia@5.1.1(react-native@0.73.3(@babel/core@7.26.0)(@babel/preset-env@7.23.9(@babel/core@7.26.0))(react@18.2.0)): dependencies: '@chainsafe/libp2p-noise': 16.0.0 '@chainsafe/libp2p-yamux': 7.0.1 - '@helia/block-brokers': 4.0.1 - '@helia/delegated-routing-v1-http-api-client': 4.1.1 - '@helia/interface': 5.0.0 - '@helia/routers': 2.1.0 - '@helia/utils': 1.0.1 - '@libp2p/autonat': 2.0.9 - '@libp2p/bootstrap': 11.0.9 - '@libp2p/circuit-relay-v2': 3.0.0 - '@libp2p/crypto': 5.0.5 - '@libp2p/dcutr': 2.0.9 - '@libp2p/identify': 3.0.9 - '@libp2p/interface': 2.1.3 - '@libp2p/kad-dht': 14.0.2 - '@libp2p/keychain': 5.0.8 - '@libp2p/logger': 5.1.2 - '@libp2p/mdns': 11.0.9 - '@libp2p/mplex': 11.0.9 - '@libp2p/ping': 2.0.9 - '@libp2p/tcp': 10.0.10 - '@libp2p/tls': 2.0.9 - '@libp2p/upnp-nat': 2.0.9 - '@libp2p/webrtc': 5.0.14(react-native@0.73.3(@babel/core@7.26.0)(@babel/preset-env@7.23.9(@babel/core@7.26.0))(react@18.2.0)) - '@libp2p/websockets': 9.0.9 - '@libp2p/webtransport': 5.0.14 + '@helia/block-brokers': 4.0.2 + '@helia/delegated-routing-v1-http-api-client': 4.2.1 + '@helia/interface': 5.1.0 + '@helia/routers': 2.2.0 + '@helia/utils': 1.1.0 + '@libp2p/autonat': 2.0.12 + '@libp2p/bootstrap': 11.0.13 + '@libp2p/circuit-relay-v2': 3.1.3 + '@libp2p/crypto': 5.0.7 + '@libp2p/dcutr': 2.0.12 + '@libp2p/identify': 3.0.12 + '@libp2p/interface': 2.2.1 + '@libp2p/kad-dht': 14.1.3 + '@libp2p/keychain': 5.0.10 + '@libp2p/logger': 5.1.4 + '@libp2p/mdns': 11.0.13 + '@libp2p/mplex': 11.0.13 + '@libp2p/ping': 2.0.12 + '@libp2p/tcp': 10.0.13 + '@libp2p/tls': 2.0.11 + '@libp2p/upnp-nat': 2.0.12 + '@libp2p/webrtc': 5.0.19(react-native@0.73.3(@babel/core@7.26.0)(@babel/preset-env@7.23.9(@babel/core@7.26.0))(react@18.2.0)) + '@libp2p/websockets': 9.0.13 '@multiformats/dns': 1.0.6 blockstore-core: 5.0.2 datastore-core: 10.0.2 interface-blockstore: 5.3.1 interface-datastore: 8.3.1 ipns: 10.0.0 - libp2p: 2.1.10 - multiformats: 13.3.0 + libp2p: 2.3.1 + multiformats: 13.3.1 transitivePeerDependencies: - bufferutil - react-native @@ -5892,7 +5912,7 @@ snapshots: interface-blockstore@5.3.1: dependencies: interface-store: 6.0.2 - multiformats: 13.3.0 + multiformats: 13.3.1 interface-datastore@8.3.1: dependencies: @@ -5913,12 +5933,12 @@ snapshots: ipns@10.0.0: dependencies: - '@libp2p/crypto': 5.0.5 - '@libp2p/interface': 2.1.3 - '@libp2p/logger': 5.1.2 + '@libp2p/crypto': 5.0.7 + '@libp2p/interface': 2.2.1 + '@libp2p/logger': 5.1.4 cborg: 4.2.6 interface-datastore: 8.3.1 - multiformats: 13.3.0 + multiformats: 13.3.1 protons-runtime: 5.5.0 timestamp-nano: 1.0.1 uint8arraylist: 2.4.8 @@ -6075,7 +6095,7 @@ snapshots: it-ws@6.1.5: dependencies: - '@types/ws': 8.5.12 + '@types/ws': 8.5.13 event-iterator: 2.0.0 it-stream-types: 2.0.2 uint8arrays: 5.1.0 @@ -6089,7 +6109,7 @@ snapshots: '@jest/environment': 29.7.0 '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 22.8.1 + '@types/node': 22.9.3 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -6097,7 +6117,7 @@ snapshots: jest-message-util@29.7.0: dependencies: - '@babel/code-frame': 7.26.0 + '@babel/code-frame': 7.26.2 '@jest/types': 29.6.3 '@types/stack-utils': 2.0.3 chalk: 4.1.2 @@ -6110,13 +6130,13 @@ snapshots: jest-mock@29.7.0: dependencies: '@jest/types': 29.6.3 - '@types/node': 22.8.1 + '@types/node': 22.9.3 jest-util: 29.7.0 jest-util@29.7.0: dependencies: '@jest/types': 29.6.3 - '@types/node': 22.8.1 + '@types/node': 22.9.3 chalk: 4.1.2 ci-info: 3.9.0 graceful-fs: 4.2.11 @@ -6133,7 +6153,7 @@ snapshots: jest-worker@29.7.0: dependencies: - '@types/node': 22.8.1 + '@types/node': 22.9.3 jest-util: 29.7.0 merge-stream: 2.0.0 supports-color: 8.1.1 @@ -6160,7 +6180,7 @@ snapshots: jscodeshift@0.14.0(@babel/preset-env@7.23.9(@babel/core@7.26.0)): dependencies: '@babel/core': 7.26.0 - '@babel/parser': 7.26.1 + '@babel/parser': 7.26.2 '@babel/plugin-proposal-class-properties': 7.18.6(@babel/core@7.26.0) '@babel/plugin-proposal-nullish-coalescing-operator': 7.18.6(@babel/core@7.26.0) '@babel/plugin-proposal-optional-chaining': 7.21.0(@babel/core@7.26.0) @@ -6211,20 +6231,20 @@ snapshots: leven@3.1.0: {} - libp2p@2.1.10: - dependencies: - '@libp2p/crypto': 5.0.5 - '@libp2p/interface': 2.1.3 - '@libp2p/interface-internal': 2.0.9 - '@libp2p/logger': 5.1.2 - '@libp2p/multistream-select': 6.0.7 - '@libp2p/peer-collections': 6.0.9 - '@libp2p/peer-id': 5.0.6 - '@libp2p/peer-store': 11.0.9 - '@libp2p/utils': 6.1.2 + libp2p@2.3.1: + dependencies: + '@libp2p/crypto': 5.0.7 + '@libp2p/interface': 2.2.1 + '@libp2p/interface-internal': 2.1.1 + '@libp2p/logger': 5.1.4 + '@libp2p/multistream-select': 6.0.9 + '@libp2p/peer-collections': 6.0.12 + '@libp2p/peer-id': 5.0.8 + '@libp2p/peer-store': 11.0.12 + '@libp2p/utils': 6.2.1 '@multiformats/dns': 1.0.6 - '@multiformats/multiaddr': 12.3.1 - '@multiformats/multiaddr-matcher': 1.3.0 + '@multiformats/multiaddr': 12.3.3 + '@multiformats/multiaddr-matcher': 1.6.0 any-signal: 4.1.1 datastore-core: 10.0.2 interface-datastore: 8.3.1 @@ -6232,9 +6252,9 @@ snapshots: it-merge: 3.0.5 it-parallel: 3.0.8 merge-options: 3.0.4 - multiformats: 13.3.0 + multiformats: 13.3.1 p-defer: 4.0.1 - p-retry: 6.2.0 + p-retry: 6.2.1 progress-events: 1.0.1 race-event: 1.3.0 race-signal: 1.1.0 @@ -6407,7 +6427,7 @@ snapshots: metro-transform-plugins@0.80.12: dependencies: '@babel/core': 7.26.0 - '@babel/generator': 7.26.0 + '@babel/generator': 7.26.2 '@babel/template': 7.25.9 '@babel/traverse': 7.25.9 flow-enums-runtime: 0.0.6 @@ -6418,8 +6438,8 @@ snapshots: metro-transform-worker@0.80.12: dependencies: '@babel/core': 7.26.0 - '@babel/generator': 7.26.0 - '@babel/parser': 7.26.1 + '@babel/generator': 7.26.2 + '@babel/parser': 7.26.2 '@babel/types': 7.26.0 flow-enums-runtime: 0.0.6 metro: 0.80.12 @@ -6437,10 +6457,10 @@ snapshots: metro@0.80.12: dependencies: - '@babel/code-frame': 7.26.0 + '@babel/code-frame': 7.26.2 '@babel/core': 7.26.0 - '@babel/generator': 7.26.0 - '@babel/parser': 7.26.1 + '@babel/generator': 7.26.2 + '@babel/parser': 7.26.2 '@babel/template': 7.25.9 '@babel/traverse': 7.25.9 '@babel/types': 7.26.0 @@ -6544,11 +6564,11 @@ snapshots: multiformats@12.1.3: {} - multiformats@13.3.0: {} + multiformats@13.3.1: {} murmurhash3js-revisited@3.0.0: {} - nanoid@5.0.7: {} + nanoid@5.0.8: {} napi-build-utils@1.0.2: {} @@ -6556,6 +6576,8 @@ snapshots: negotiator@0.6.3: {} + negotiator@0.6.4: {} + neo-async@2.6.2: {} netmask@2.0.2: {} @@ -6583,7 +6605,7 @@ snapshots: dependencies: whatwg-url: 5.0.0 - node-gyp-build@4.8.2: {} + node-gyp-build@4.8.4: {} node-int64@0.4.0: {} @@ -6685,7 +6707,7 @@ snapshots: eventemitter3: 5.0.1 p-timeout: 6.1.3 - p-retry@6.2.0: + p-retry@6.2.1: dependencies: '@types/retry': 0.12.2 is-network-error: 1.1.0 @@ -6784,9 +6806,9 @@ snapshots: end-of-stream: 1.4.4 once: 1.4.0 - pvtsutils@1.3.5: + pvtsutils@1.3.6: dependencies: - tslib: 2.8.0 + tslib: 2.8.1 pvutils@1.1.3: {} @@ -6916,7 +6938,7 @@ snapshots: ast-types: 0.15.2 esprima: 4.0.1 source-map: 0.6.1 - tslib: 2.8.0 + tslib: 2.8.1 reflect-metadata@0.2.2: {} @@ -6934,18 +6956,18 @@ snapshots: dependencies: '@babel/runtime': 7.26.0 - regexpu-core@6.1.1: + regexpu-core@6.2.0: dependencies: regenerate: 1.4.2 regenerate-unicode-properties: 10.2.0 regjsgen: 0.8.0 - regjsparser: 0.11.2 + regjsparser: 0.12.0 unicode-match-property-ecmascript: 2.0.0 unicode-match-property-value-ecmascript: 2.2.0 regjsgen@0.8.0: {} - regjsparser@0.11.2: + regjsparser@0.12.0: dependencies: jsesc: 3.0.2 @@ -7197,6 +7219,8 @@ snapshots: timestamp-nano@1.0.1: {} + tiny-typed-emitter@2.1.0: {} + tmpl@1.0.5: {} to-regex-range@5.0.1: @@ -7213,7 +7237,7 @@ snapshots: tslib@1.14.1: {} - tslib@2.8.0: {} + tslib@2.8.1: {} tsyringe@4.8.0: dependencies: @@ -7227,6 +7251,8 @@ snapshots: type-fest@0.7.1: {} + typescript@5.7.2: {} + uint8-varint@2.0.4: dependencies: uint8arraylist: 2.4.8 @@ -7238,7 +7264,7 @@ snapshots: uint8arrays@5.1.0: dependencies: - multiformats: 13.3.0 + multiformats: 13.3.1 undici-types@6.19.8: {} @@ -7291,8 +7317,8 @@ snapshots: '@peculiar/asn1-schema': 2.3.13 '@peculiar/json-schema': 1.1.12 asn1js: 3.0.5 - pvtsutils: 1.3.5 - tslib: 2.8.0 + pvtsutils: 1.3.6 + tslib: 2.8.1 webidl-conversions@3.0.1: {} @@ -7356,7 +7382,7 @@ snapshots: yallist@3.1.1: {} - yaml@2.6.0: {} + yaml@2.6.1: {} yargs-parser@18.1.3: dependencies: diff --git a/src/index.d.ts b/src/index.d.ts new file mode 100644 index 0000000..8115e5a --- /dev/null +++ b/src/index.d.ts @@ -0,0 +1,250 @@ + +declare module "@orbitdb/core" { + import type { HeliaLibp2p } from "helia"; + import type { Libp2p } from "@libp2p/interface"; + import type { PeerId } from "@libp2p/interface"; + import type { TypedEmitter } from 'tiny-typed-emitter'; + import type { PrivateKey } from '@libp2p/interface' + + + export function createOrbitDB(args: { + ipfs: HeliaLibp2p; + id?: string; + identity?: Identity; + identities?: typeof Identities; + directory?: string; + }): Promise; + + export type DatabaseEvents = { + 'update': (entry: Entry)=>void; + 'close': ()=>void; + 'drop': ()=>void; + 'join': (peerId: PeerId, heads: Log[])=>void; + 'leave': (peerId: PeerId)=>void; + } + + export type MetaData = {[key: string]: string|number|boolean}; // Todo: check + + export type BaseDatabase = { + address: string, + name: string, + identity: Identity, + meta: MetaData, + close: () => Promise, + drop: () => Promise, + addOperation: (bytes: ArrayBuffer) => Promise, + log: Log, + sync: Sync, + peers: string[], + events: TypedEmitter, + access: AccessController, + } + + export function Documents(args?: { + indexBy: T + }): ({}) => Promise Promise; + del: (key: string) => Promise, + get: (key: string) => Promise<{[key: string]: string} | null>, + // Check iterator type: docs say return type should [string, string, string] + // https://github.com/orbitdb/orbitdb/blob/main/src/databases/documents.js#L109 + // ...but I think it should be as follows: + iterator: (args: {amount: number}) => Iterable<[string, string, {[key: string]: string}]>, + query: (findFn: (doc: {[key: string]: string})=>boolean) => {[key: string]: string}[], + indexBy: T, + all: [string, string, {[key: string]: string}][] // TODO: see above comment on `iterator` + }> + + export function Database(args: { + ipfs: HeliaLibp2p; + identity?: Identity; + address: string; + name?: string; + access?: AccessController; + directory?: string; + meta?: MetaData; + headsStorage?: Storage; + entryStorage?: Storage; + indexStorage?: Storage; + referencesCount?: number; + syncAutomatically?: boolean; + onUpdate?: (log: Log, entry: Entry) => void; + }): Promise; + + export type Identity = { + id: string; + publicKey: string; + signatures: { + id: string; + publicKey: string; + }; + type: string; + sign: (identity: Identity, data: string) => Promise; + verify: ( + signature: string, + publicKey: string, + data: string + ) => Promise; + }; + + export type OrbitDBDatabaseOptions = Partial<{ + type: string; + meta: MetaData; + sync: Sync; + Database: BaseDatabase; + AccessController: AccessController; + headsStorage: Storage; + entryStorage: Storage; + indexStorage: Storage; + referencesCount: number; + }> + export type OrbitDB = { + id: string; + open: ( + address: string, + options?: OrbitDBDatabaseOptions + ) => ReturnType; + stop: ()=>Promise; + ipfs: HeliaLibp2p; + directory: string; + keystore: KeyStoreType; + identities: IdentitiesType; + identity: Identity; + peerId: PeerId; + }; + + export function useAccessController(accessController: { type: string }): void; + export function isValidAddress(address: unknown): boolean; + + export type Log = { + id: string; + clock: Clock; + heads: () => Promise; + traverse: () => AsyncGenerator; + }; + + export type Entry = { + id: string, + // Payload must be dag-cbor encodable (todo: specify or import a type for this) + // See https://github.com/orbitdb/orbitdb/blob/main/src/oplog/entry.js#L68C28-L68C36 + payload: any, + next: string[], + refs: string[], + clock: Clock, + v: 2 + } + + export type SyncEvents = { + join: (peerId: PeerId, heads: Entry[]) => void; + leave: (peerId: PeerId) => void; + error: (error: Error) => void; + } + + export type Sync = { + add: (entry: Entry) => Promise, + stop: () => Promise, + start: () => Promise, + events: TypedEmitter, + peers: Set + }; + + export function AccessControllerGenerator({ + orbitdb, + identities, + address, + }: { + orbitdb: OrbitDB; + identities: IdentitiesType; + address?: string; + }): Promise; + + export class AccessController { + type: string; + address: string; + canAppend: (entry: LogEntry) => Promise; + } + + export function useDatabaseType(type: { type: string }): void; + + export function IPFSAccessController(args: { + write: string[]; + storage: Storage; + }): (args: { + orbitdb: OrbitDB; + identities: IdentitiesType; + address: string; + }) => Promise<{ + type: "ipfs"; + address: string; + write: string[]; + canAppend: (entry: LogEntry) => Promise; + }>; + export function Identities(args: {keystore?: KeyStoreType, path?: string, storage?: Storage, ipfs?: HeliaLibp2p}): Promise; + export class IdentitiesType { + createIdentity: (options: object) => Promise; + getIdentity: (hash: string)=>Promise; + verifyIdentity: (identity: Identity) => Promise; + sign: (identity: Identity, data: string) => Promise; + verify: (signature: string, publicKey: string, data: string) => Promise; + keystore: KeyStoreType; + } + export const Entry: { + create: (identity: Identity, id: string, payload: unknown, clock?: Clock, next?: string[], refs?: string[]) => Promise; + verify: (identities: IdentitiesType, entry: LogEntry) => Promise; + decode: (bytes: Uint8Array) => Promise; + isEntry: (obj: object) => boolean; + isEqual: (a: LogEntry, b: LogEntry) => boolean; + }; + export class Storage { + put: (hash: string, data: any) => Promise; + get: (hash: string) => Promise; + } + export function IPFSBlockStorage(args: { + ipfs: HeliaLibp2p, + pin?: boolean, + timeout?: number, + }): Promise; + export function LRUStorage(args: { size: number }): Promise; + export function ComposedStorage(...args: Storage[]): Promise; + + export type Clock = { + id: string; + time: number; + }; + + export type LogEntry = { + id: string; + payload: { op: string; key: string | null; value?: T }; + next: string[]; + refs: string[]; + clock: Clock; + v: Number; + key: string; + identity: string; + sig: string; + hash: string; + }; + + export type KeyValue = BaseDatabase & { + type: "keyvalue"; + put(key: string, value: unknown): Promise; + set: KeyValue["put"]; + del(key: string): Promise; + get(key: string): Promise; + all(): Promise<{ key: string; value: unknown; hash: string }[]>; + }; + + export function KeyStore (args: {storage?: Storage, path?: string}): Promise; + + export type KeyStoreType = { + clear: ()=>Promise, + close: ()=>Promise, + hasKey: (id: string)=>Promise, + addKey: (id: string, key: string)=>Promise, + createKey: (id: string)=>Promise, + getKey: (id: string)=>Promise, + getPublic: (keys: PrivateKey, options?: {format: T})=>Promise + } + } + \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..0171df1 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,30 @@ +{ + // "extends": "aegir/src/config/tsconfig.aegir.json", + "compilerOptions": { + "baseUrl": ".", + "declaration": true, + "esModuleInterop": true, + "incremental": true, + "importHelpers": true, + "jsx": "react", + "lib": ["dom", "esnext"], + "module": "esnext", + "moduleResolution": "node", + "noFallthroughCasesInSwitch": true, + "noImplicitReturns": true, + "noUnusedLocals": false, + "noUnusedParameters": true, + "outDir": "./dist", + "sourceMap": true, + "strict": true, + "strictPropertyInitialization": true, + "strictNullChecks": true, + "target": "esnext", + "useUnknownInCatchVariables": false, + "emitDeclarationOnly": true, + "skipLibCheck": false, + "experimentalDecorators": true, + "importsNotUsedAsValues": "remove", + }, + "include": ["src", "@types"] +}