@develit-services/blockchain 0.8.5 → 0.10.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/export/workflows.cjs +1 -1
- package/dist/export/workflows.mjs +1 -1
- package/dist/export/wrangler.cjs +2 -0
- package/dist/export/wrangler.d.cts +4 -1
- package/dist/export/wrangler.d.mts +4 -1
- package/dist/export/wrangler.d.ts +4 -1
- package/dist/export/wrangler.mjs +2 -0
- package/dist/shared/{blockchain.C1Jdisxn.d.cts → blockchain.CVKUvfyj.d.cts} +3 -0
- package/dist/shared/{blockchain.C1Jdisxn.d.mts → blockchain.CVKUvfyj.d.mts} +3 -0
- package/dist/shared/{blockchain.C1Jdisxn.d.ts → blockchain.CVKUvfyj.d.ts} +3 -0
- package/dist/types.d.cts +1 -1
- package/dist/types.d.mts +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +1 -1
|
@@ -69,7 +69,7 @@ class BlockchainSyncAddressTxs extends cloudflare_workers.WorkflowEntrypoint {
|
|
|
69
69
|
const { addressId } = event.payload;
|
|
70
70
|
const db = d1.drizzle(this.env.BLOCKCHAIN_D1, { schema: blockchain.tables });
|
|
71
71
|
if (!addressId) {
|
|
72
|
-
throw new cloudflare_workflows.NonRetryableError(`
|
|
72
|
+
throw new cloudflare_workflows.NonRetryableError(`Have not obtained addressId to load.`);
|
|
73
73
|
}
|
|
74
74
|
while (true) {
|
|
75
75
|
const now = /* @__PURE__ */ new Date();
|
|
@@ -67,7 +67,7 @@ class BlockchainSyncAddressTxs extends WorkflowEntrypoint {
|
|
|
67
67
|
const { addressId } = event.payload;
|
|
68
68
|
const db = drizzle(this.env.BLOCKCHAIN_D1, { schema: tables });
|
|
69
69
|
if (!addressId) {
|
|
70
|
-
throw new NonRetryableError(`
|
|
70
|
+
throw new NonRetryableError(`Have not obtained addressId to load.`);
|
|
71
71
|
}
|
|
72
72
|
while (true) {
|
|
73
73
|
const now = /* @__PURE__ */ new Date();
|
package/dist/export/wrangler.cjs
CHANGED
|
@@ -15,6 +15,7 @@ function defineBlockchainServiceWrangler(config) {
|
|
|
15
15
|
service: `${project}-secrets-store`
|
|
16
16
|
}
|
|
17
17
|
],
|
|
18
|
+
triggers: envs.local.triggers,
|
|
18
19
|
d1_databases: [
|
|
19
20
|
{
|
|
20
21
|
binding: "BLOCKCHAIN_D1",
|
|
@@ -47,6 +48,7 @@ function defineBlockchainServiceWrangler(config) {
|
|
|
47
48
|
vars: {
|
|
48
49
|
ENVIRONMENT: envName
|
|
49
50
|
},
|
|
51
|
+
triggers: envs.local.triggers,
|
|
50
52
|
d1_databases: [
|
|
51
53
|
{
|
|
52
54
|
binding: "BLOCKCHAIN_D1",
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import { B as BlockchainServiceWranglerConfig } from '../shared/blockchain.
|
|
1
|
+
import { B as BlockchainServiceWranglerConfig } from '../shared/blockchain.CVKUvfyj.cjs';
|
|
2
2
|
|
|
3
3
|
declare function defineBlockchainServiceWrangler(config: BlockchainServiceWranglerConfig): {
|
|
4
4
|
services: {
|
|
5
5
|
binding: string;
|
|
6
6
|
service: string;
|
|
7
7
|
}[];
|
|
8
|
+
triggers: {
|
|
9
|
+
crons: string[];
|
|
10
|
+
};
|
|
8
11
|
d1_databases: {
|
|
9
12
|
binding: string;
|
|
10
13
|
database_name: string;
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import { B as BlockchainServiceWranglerConfig } from '../shared/blockchain.
|
|
1
|
+
import { B as BlockchainServiceWranglerConfig } from '../shared/blockchain.CVKUvfyj.mjs';
|
|
2
2
|
|
|
3
3
|
declare function defineBlockchainServiceWrangler(config: BlockchainServiceWranglerConfig): {
|
|
4
4
|
services: {
|
|
5
5
|
binding: string;
|
|
6
6
|
service: string;
|
|
7
7
|
}[];
|
|
8
|
+
triggers: {
|
|
9
|
+
crons: string[];
|
|
10
|
+
};
|
|
8
11
|
d1_databases: {
|
|
9
12
|
binding: string;
|
|
10
13
|
database_name: string;
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import { B as BlockchainServiceWranglerConfig } from '../shared/blockchain.
|
|
1
|
+
import { B as BlockchainServiceWranglerConfig } from '../shared/blockchain.CVKUvfyj.js';
|
|
2
2
|
|
|
3
3
|
declare function defineBlockchainServiceWrangler(config: BlockchainServiceWranglerConfig): {
|
|
4
4
|
services: {
|
|
5
5
|
binding: string;
|
|
6
6
|
service: string;
|
|
7
7
|
}[];
|
|
8
|
+
triggers: {
|
|
9
|
+
crons: string[];
|
|
10
|
+
};
|
|
8
11
|
d1_databases: {
|
|
9
12
|
binding: string;
|
|
10
13
|
database_name: string;
|
package/dist/export/wrangler.mjs
CHANGED
|
@@ -13,6 +13,7 @@ function defineBlockchainServiceWrangler(config) {
|
|
|
13
13
|
service: `${project}-secrets-store`
|
|
14
14
|
}
|
|
15
15
|
],
|
|
16
|
+
triggers: envs.local.triggers,
|
|
16
17
|
d1_databases: [
|
|
17
18
|
{
|
|
18
19
|
binding: "BLOCKCHAIN_D1",
|
|
@@ -45,6 +46,7 @@ function defineBlockchainServiceWrangler(config) {
|
|
|
45
46
|
vars: {
|
|
46
47
|
ENVIRONMENT: envName
|
|
47
48
|
},
|
|
49
|
+
triggers: envs.local.triggers,
|
|
48
50
|
d1_databases: [
|
|
49
51
|
{
|
|
50
52
|
binding: "BLOCKCHAIN_D1",
|
package/dist/types.d.cts
CHANGED
|
@@ -3,7 +3,7 @@ import { BaseEvent } from '@develit-io/backend-sdk';
|
|
|
3
3
|
import { t as tables } from './shared/blockchain.Br6esGv4.cjs';
|
|
4
4
|
export { C as Chain, c as GetBlockInput, d as GetBlockOutput, G as GetTransactionInput, b as GetTransactionOutput, S as SyncAddressInput, a as SyncAddressOutput, e as chainSchema, g as getBlockInputSchema, f as getBlockOutputSchema, h as getTransactionInputSchema, i as getTransactionOutputSchema, s as syncAddressInputSchema, j as syncAddressOutputSchema } from './shared/blockchain.Br6esGv4.cjs';
|
|
5
5
|
import { InferInsertModel, InferSelectModel } from 'drizzle-orm';
|
|
6
|
-
export { a as BlockchainServiceEnv, b as BlockchainServiceEnvironmentConfig, B as BlockchainServiceWranglerConfig } from './shared/blockchain.
|
|
6
|
+
export { a as BlockchainServiceEnv, b as BlockchainServiceEnvironmentConfig, B as BlockchainServiceWranglerConfig } from './shared/blockchain.CVKUvfyj.cjs';
|
|
7
7
|
import 'drizzle-orm/sqlite-core';
|
|
8
8
|
import 'zod';
|
|
9
9
|
|
package/dist/types.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ import { BaseEvent } from '@develit-io/backend-sdk';
|
|
|
3
3
|
import { t as tables } from './shared/blockchain.DcWSUM60.mjs';
|
|
4
4
|
export { C as Chain, c as GetBlockInput, d as GetBlockOutput, G as GetTransactionInput, b as GetTransactionOutput, S as SyncAddressInput, a as SyncAddressOutput, e as chainSchema, g as getBlockInputSchema, f as getBlockOutputSchema, h as getTransactionInputSchema, i as getTransactionOutputSchema, s as syncAddressInputSchema, j as syncAddressOutputSchema } from './shared/blockchain.DcWSUM60.mjs';
|
|
5
5
|
import { InferInsertModel, InferSelectModel } from 'drizzle-orm';
|
|
6
|
-
export { a as BlockchainServiceEnv, b as BlockchainServiceEnvironmentConfig, B as BlockchainServiceWranglerConfig } from './shared/blockchain.
|
|
6
|
+
export { a as BlockchainServiceEnv, b as BlockchainServiceEnvironmentConfig, B as BlockchainServiceWranglerConfig } from './shared/blockchain.CVKUvfyj.mjs';
|
|
7
7
|
import 'drizzle-orm/sqlite-core';
|
|
8
8
|
import 'zod';
|
|
9
9
|
|
package/dist/types.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { BaseEvent } from '@develit-io/backend-sdk';
|
|
|
3
3
|
import { t as tables } from './shared/blockchain.DurPotrN.js';
|
|
4
4
|
export { C as Chain, c as GetBlockInput, d as GetBlockOutput, G as GetTransactionInput, b as GetTransactionOutput, S as SyncAddressInput, a as SyncAddressOutput, e as chainSchema, g as getBlockInputSchema, f as getBlockOutputSchema, h as getTransactionInputSchema, i as getTransactionOutputSchema, s as syncAddressInputSchema, j as syncAddressOutputSchema } from './shared/blockchain.DurPotrN.js';
|
|
5
5
|
import { InferInsertModel, InferSelectModel } from 'drizzle-orm';
|
|
6
|
-
export { a as BlockchainServiceEnv, b as BlockchainServiceEnvironmentConfig, B as BlockchainServiceWranglerConfig } from './shared/blockchain.
|
|
6
|
+
export { a as BlockchainServiceEnv, b as BlockchainServiceEnvironmentConfig, B as BlockchainServiceWranglerConfig } from './shared/blockchain.CVKUvfyj.js';
|
|
7
7
|
import 'drizzle-orm/sqlite-core';
|
|
8
8
|
import 'zod';
|
|
9
9
|
|