@secondlayer/sdk 15.3.0 → 15.4.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/index.d.ts +44 -1
- package/dist/index.js +7 -1
- package/dist/index.js.map +3 -3
- package/dist/subgraphs/index.d.ts +43 -0
- package/dist/subgraphs/index.js +7 -1
- package/dist/subgraphs/index.js.map +3 -3
- package/dist/webhooks/triggers.d.ts +2 -2
- package/dist/webhooks/triggers.js +2 -2
- package/dist/webhooks/triggers.js.map +2 -2
- package/package.json +2 -2
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { CHAIN_TRIGGER_FIELDS, CHAIN_TRIGGER_TYPES } from "@secondlayer/shared/schemas/
|
|
2
|
-
import { ChainTriggerType } from "@secondlayer/shared/schemas/
|
|
1
|
+
import { CHAIN_TRIGGER_FIELDS, CHAIN_TRIGGER_TYPES } from "@secondlayer/shared/schemas/chain-triggers";
|
|
2
|
+
import { ChainTriggerType } from "@secondlayer/shared/schemas/chain-triggers";
|
|
3
3
|
export { CHAIN_TRIGGER_FIELDS, CHAIN_TRIGGER_TYPES, ChainTriggerType };
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import {
|
|
3
3
|
CHAIN_TRIGGER_FIELDS,
|
|
4
4
|
CHAIN_TRIGGER_TYPES
|
|
5
|
-
} from "@secondlayer/shared/schemas/
|
|
5
|
+
} from "@secondlayer/shared/schemas/chain-triggers";
|
|
6
6
|
export {
|
|
7
7
|
CHAIN_TRIGGER_FIELDS,
|
|
8
8
|
CHAIN_TRIGGER_TYPES
|
|
9
9
|
};
|
|
10
10
|
|
|
11
|
-
//# debugId=
|
|
11
|
+
//# debugId=4F90CE34C3E61F5764756E2164756E21
|
|
12
12
|
//# sourceMappingURL=triggers.js.map
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["src/webhooks/triggers.ts"],
|
|
4
4
|
"sourcesContent": [
|
|
5
|
-
"export {\n\tCHAIN_TRIGGER_FIELDS,\n\tCHAIN_TRIGGER_TYPES,\n} from \"@secondlayer/shared/schemas/
|
|
5
|
+
"export {\n\tCHAIN_TRIGGER_FIELDS,\n\tCHAIN_TRIGGER_TYPES,\n} from \"@secondlayer/shared/schemas/chain-triggers\";\nexport type { ChainTriggerType } from \"@secondlayer/shared/schemas/chain-triggers\";\n\n/**\n * Its own subpath, not the main `@secondlayer/sdk` barrel: that barrel's\n * runtime code (unlike a `type` import, which is erased) drags in\n * `@secondlayer/shared`'s DB layer — and `postgres`, a Node-only driver —\n * into a client component's bundle. `CHAIN_TRIGGER_FIELDS` is the config\n * card's per-trigger-type field list, a literal checked against the Zod schema\n * in shared's tests so it can't drift behind it. The `chain-triggers` subpath\n * is zod-free, which keeps zod out of the client bundle.\n */\n"
|
|
6
6
|
],
|
|
7
7
|
"mappings": ";AAAA;AAAA;AAAA;AAAA;",
|
|
8
|
-
"debugId": "
|
|
8
|
+
"debugId": "4F90CE34C3E61F5764756E2164756E21",
|
|
9
9
|
"names": []
|
|
10
10
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@secondlayer/sdk",
|
|
3
|
-
"version": "15.
|
|
3
|
+
"version": "15.4.0",
|
|
4
4
|
"description": "Decoded Stacks data in your own database — stream rows into your schema, or query the tables you defined.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"prepublishOnly": "bun run build"
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
|
-
"@secondlayer/shared": "^13.
|
|
71
|
+
"@secondlayer/shared": "^13.8.0",
|
|
72
72
|
"@secondlayer/stacks": "^6.4.0",
|
|
73
73
|
"@secondlayer/subgraphs": "^7.6.0"
|
|
74
74
|
},
|