@secondlayer/sdk 12.4.1 → 13.1.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 +12 -2
- package/dist/index.js +13 -2
- package/dist/index.js.map +4 -4
- package/dist/subgraphs/index.d.ts +10 -0
- package/dist/subgraphs/index.js +13 -2
- package/dist/subgraphs/index.js.map +4 -4
- package/dist/webhooks/triggers.d.ts +3 -0
- package/dist/webhooks/triggers.js +12 -0
- package/dist/webhooks/triggers.js.map +10 -0
- package/package.json +6 -2
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/webhooks/triggers.ts
|
|
2
|
+
import {
|
|
3
|
+
CHAIN_TRIGGER_FIELDS,
|
|
4
|
+
CHAIN_TRIGGER_TYPES
|
|
5
|
+
} from "@secondlayer/shared/schemas/webhooks";
|
|
6
|
+
export {
|
|
7
|
+
CHAIN_TRIGGER_FIELDS,
|
|
8
|
+
CHAIN_TRIGGER_TYPES
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
//# debugId=CBD96D9C7A76D25964756E2164756E21
|
|
12
|
+
//# sourceMappingURL=triggers.js.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["src/webhooks/triggers.ts"],
|
|
4
|
+
"sourcesContent": [
|
|
5
|
+
"export {\n\tCHAIN_TRIGGER_FIELDS,\n\tCHAIN_TRIGGER_TYPES,\n} from \"@secondlayer/shared/schemas/webhooks\";\nexport type { ChainTriggerType } from \"@secondlayer/shared/schemas/webhooks\";\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, derived from the same Zod schema the\n * API validates create/update against, so it can't drift behind it.\n */\n"
|
|
6
|
+
],
|
|
7
|
+
"mappings": ";AAAA;AAAA;AAAA;AAAA;",
|
|
8
|
+
"debugId": "CBD96D9C7A76D25964756E2164756E21",
|
|
9
|
+
"names": []
|
|
10
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@secondlayer/sdk",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "13.1.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": {
|
|
@@ -52,6 +52,10 @@
|
|
|
52
52
|
"./webhooks/doctor": {
|
|
53
53
|
"types": "./dist/webhooks/doctor.d.ts",
|
|
54
54
|
"import": "./dist/webhooks/doctor.js"
|
|
55
|
+
},
|
|
56
|
+
"./webhooks/triggers": {
|
|
57
|
+
"types": "./dist/webhooks/triggers.d.ts",
|
|
58
|
+
"import": "./dist/webhooks/triggers.js"
|
|
55
59
|
}
|
|
56
60
|
},
|
|
57
61
|
"files": ["dist", "AGENTS.md"],
|
|
@@ -64,7 +68,7 @@
|
|
|
64
68
|
"prepublishOnly": "bun run build"
|
|
65
69
|
},
|
|
66
70
|
"dependencies": {
|
|
67
|
-
"@secondlayer/shared": "^11.
|
|
71
|
+
"@secondlayer/shared": "^11.14.1",
|
|
68
72
|
"@secondlayer/stacks": "^6.1.0",
|
|
69
73
|
"@secondlayer/subgraphs": "^6.2.0"
|
|
70
74
|
},
|