@xyo-network/xl1-rpc 2.2.1 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/neutral/index.mjs +94 -121
- package/dist/neutral/index.mjs.map +2 -2
- package/dist/neutral/networkTier3Descriptors.d.ts +2 -16
- package/dist/neutral/networkTier3Descriptors.d.ts.map +1 -1
- package/dist/node/index-node.mjs +94 -121
- package/dist/node/index-node.mjs.map +2 -2
- package/dist/node/networkTier3Descriptors.d.ts +2 -16
- package/dist/node/networkTier3Descriptors.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -2,22 +2,8 @@ import type { ProviderDescriptor, ResolutionContext } from '@xyo-network/xl1-pro
|
|
|
2
2
|
/**
|
|
3
3
|
* Tier-3 descriptors for `JsonRpc*` providers shipped by `@xyo-network/xl1-rpc`.
|
|
4
4
|
*
|
|
5
|
-
* Each descriptor declares `
|
|
6
|
-
*
|
|
7
|
-
* backing-store access. They are eligible to be resolved in any locator whose
|
|
8
|
-
* `availableBackings` includes `{ network, read }`.
|
|
9
|
-
*
|
|
10
|
-
* Surface assignments follow the litmus test
|
|
11
|
-
* "point queries → node, cross-key/aggregate → indexed":
|
|
12
|
-
* - Node-surface viewers (point queries on canonical state).
|
|
13
|
-
* - Indexed-surface viewers (cross-key reverse indexes / aggregations).
|
|
14
|
-
*
|
|
15
|
-
* Importable in two ways:
|
|
16
|
-
* - The full pool: `networkTier3Descriptors`.
|
|
17
|
-
* - Filtered by surface: `nodeNetworkDescriptors` / `indexedNetworkDescriptors`.
|
|
18
|
-
*
|
|
19
|
-
* Consumers (xyo-chain orchestration, browser/dApp gateways) merge this pool
|
|
20
|
-
* with their tier-1/local descriptors and hand the union to `resolveProviders`.
|
|
5
|
+
* Each descriptor declares `connectionTypes: ['rpc']` and is eligible in locators
|
|
6
|
+
* whose `availableConnectionTypes` includes `rpc`.
|
|
21
7
|
*/
|
|
22
8
|
export declare const nodeNetworkDescriptors: readonly ProviderDescriptor<ResolutionContext>[];
|
|
23
9
|
export declare const indexedNetworkDescriptors: readonly ProviderDescriptor<ResolutionContext>[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"networkTier3Descriptors.d.ts","sourceRoot":"","sources":["../../src/networkTier3Descriptors.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"networkTier3Descriptors.d.ts","sourceRoot":"","sources":["../../src/networkTier3Descriptors.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,kBAAkB,EAClB,iBAAiB,EAElB,MAAM,+BAA+B,CAAA;AAqCtC;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,EAAE,SAAS,kBAAkB,CAAC,iBAAiB,CAAC,EA+DlF,CAAA;AAED,eAAO,MAAM,yBAAyB,EAAE,SAAS,kBAAkB,CAAC,iBAAiB,CAAC,EAsBrF,CAAA;AAED,sEAAsE;AACtE,eAAO,MAAM,uBAAuB,EAAE,SAAS,kBAAkB,CAAC,iBAAiB,CAAC,EAGnF,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@xyo-network/xl1-rpc",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "3.0.0",
|
|
5
5
|
"description": "XYO Layer One API",
|
|
6
6
|
"homepage": "https://xylabs.com",
|
|
7
7
|
"bugs": {
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"README.md"
|
|
46
46
|
],
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@xyo-network/xl1-protocol-lib": "~
|
|
49
|
-
"@xyo-network/xl1-protocol-model": "~
|
|
50
|
-
"@xyo-network/xl1-protocol-sdk": "~
|
|
48
|
+
"@xyo-network/xl1-protocol-lib": "~3.0.0",
|
|
49
|
+
"@xyo-network/xl1-protocol-model": "~3.0.0",
|
|
50
|
+
"@xyo-network/xl1-protocol-sdk": "~3.0.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@bitauth/libauth": "~3.0.0",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"vitest": "~4.1.9",
|
|
85
85
|
"webextension-polyfill": "^0.12.0",
|
|
86
86
|
"zod": "~4.4.3",
|
|
87
|
-
"@xyo-network/xl1-test": "~
|
|
87
|
+
"@xyo-network/xl1-test": "~3.0.0"
|
|
88
88
|
},
|
|
89
89
|
"peerDependencies": {
|
|
90
90
|
"@bitauth/libauth": "~3.0",
|