@secondlayer/shared 6.22.0 → 6.24.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.
Files changed (37) hide show
  1. package/dist/src/crypto/ed25519.d.ts +22 -0
  2. package/dist/src/crypto/ed25519.js +80 -0
  3. package/dist/src/crypto/ed25519.js.map +10 -0
  4. package/dist/src/crypto/secondlayer-webhook.d.ts +40 -0
  5. package/dist/src/crypto/secondlayer-webhook.js +130 -0
  6. package/dist/src/crypto/secondlayer-webhook.js.map +11 -0
  7. package/dist/src/db/index.d.ts +2 -0
  8. package/dist/src/db/queries/chain-reorgs.d.ts +2 -0
  9. package/dist/src/db/queries/contracts.d.ts +2 -0
  10. package/dist/src/db/queries/integrity.d.ts +2 -0
  11. package/dist/src/db/queries/subgraph-gaps.d.ts +2 -0
  12. package/dist/src/db/queries/subgraph-operations.d.ts +2 -0
  13. package/dist/src/db/queries/subgraphs.d.ts +2 -0
  14. package/dist/src/db/queries/subscriptions.d.ts +2 -0
  15. package/dist/src/db/schema.d.ts +2 -0
  16. package/dist/src/index.d.ts +26 -24
  17. package/dist/src/index.js +54 -53
  18. package/dist/src/index.js.map +5 -5
  19. package/dist/src/leader.d.ts +53 -0
  20. package/dist/src/leader.js +257 -0
  21. package/dist/src/leader.js.map +12 -0
  22. package/dist/src/node/client.d.ts +52 -0
  23. package/dist/src/node/client.js +188 -1
  24. package/dist/src/node/client.js.map +5 -4
  25. package/dist/src/node/consensus.d.ts +38 -0
  26. package/dist/src/node/consensus.js +67 -0
  27. package/dist/src/node/consensus.js.map +10 -0
  28. package/dist/src/node/local-client.d.ts +2 -0
  29. package/dist/src/node/nakamoto.d.ts +90 -0
  30. package/dist/src/node/nakamoto.js +177 -0
  31. package/dist/src/node/nakamoto.js.map +10 -0
  32. package/dist/src/streams-bulk-manifest.d.ts +33 -0
  33. package/dist/src/streams-bulk-manifest.js +104 -0
  34. package/dist/src/streams-bulk-manifest.js.map +11 -0
  35. package/dist/src/types.d.ts +2 -0
  36. package/migrations/0089_blocks_index_block_hash.ts +25 -0
  37. package/package.json +25 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secondlayer/shared",
3
- "version": "6.22.0",
3
+ "version": "6.24.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -76,6 +76,14 @@
76
76
  "types": "./dist/src/crypto/standard-webhooks.d.ts",
77
77
  "import": "./dist/src/crypto/standard-webhooks.js"
78
78
  },
79
+ "./crypto/secondlayer-webhook": {
80
+ "types": "./dist/src/crypto/secondlayer-webhook.d.ts",
81
+ "import": "./dist/src/crypto/secondlayer-webhook.js"
82
+ },
83
+ "./crypto/ed25519": {
84
+ "types": "./dist/src/crypto/ed25519.d.ts",
85
+ "import": "./dist/src/crypto/ed25519.js"
86
+ },
79
87
  "./mode": {
80
88
  "types": "./dist/src/mode.d.ts",
81
89
  "import": "./dist/src/mode.js"
@@ -92,6 +100,14 @@
92
100
  "types": "./dist/src/logger.d.ts",
93
101
  "import": "./dist/src/logger.js"
94
102
  },
103
+ "./leader": {
104
+ "types": "./dist/src/leader.d.ts",
105
+ "import": "./dist/src/leader.js"
106
+ },
107
+ "./streams-bulk-manifest": {
108
+ "types": "./dist/src/streams-bulk-manifest.d.ts",
109
+ "import": "./dist/src/streams-bulk-manifest.js"
110
+ },
95
111
  "./errors": {
96
112
  "types": "./dist/src/errors.d.ts",
97
113
  "import": "./dist/src/errors.js"
@@ -108,6 +124,14 @@
108
124
  "types": "./dist/src/node/hiro-client.d.ts",
109
125
  "import": "./dist/src/node/hiro-client.js"
110
126
  },
127
+ "./node/nakamoto": {
128
+ "types": "./dist/src/node/nakamoto.d.ts",
129
+ "import": "./dist/src/node/nakamoto.js"
130
+ },
131
+ "./node/consensus": {
132
+ "types": "./dist/src/node/consensus.d.ts",
133
+ "import": "./dist/src/node/consensus.js"
134
+ },
111
135
  "./node/local-client": {
112
136
  "types": "./dist/src/node/local-client.d.ts",
113
137
  "import": "./dist/src/node/local-client.js"