@develit-services/blockchain 0.8.4 → 0.8.5
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 +2 -2
- package/dist/export/workflows.d.cts +2 -2
- package/dist/export/workflows.d.mts +2 -2
- package/dist/export/workflows.d.ts +2 -2
- package/dist/export/workflows.mjs +2 -2
- package/dist/export/wrangler.cjs +1 -1
- package/dist/export/wrangler.mjs +1 -1
- package/package.json +1 -1
|
@@ -64,7 +64,7 @@ function pushToQueue(queue, message) {
|
|
|
64
64
|
}))
|
|
65
65
|
);
|
|
66
66
|
}
|
|
67
|
-
class
|
|
67
|
+
class BlockchainSyncAddressTxs extends cloudflare_workers.WorkflowEntrypoint {
|
|
68
68
|
async run(event, step) {
|
|
69
69
|
const { addressId } = event.payload;
|
|
70
70
|
const db = d1.drizzle(this.env.BLOCKCHAIN_D1, { schema: blockchain.tables });
|
|
@@ -200,4 +200,4 @@ class BlockchainSyncAddressTransactions extends cloudflare_workers.WorkflowEntry
|
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
202
|
|
|
203
|
-
exports.
|
|
203
|
+
exports.BlockchainSyncAddressTxs = BlockchainSyncAddressTxs;
|
|
@@ -3,8 +3,8 @@ import { WorkflowEntrypoint, WorkflowEvent, WorkflowStep } from 'cloudflare:work
|
|
|
3
3
|
type Params = {
|
|
4
4
|
addressId: string;
|
|
5
5
|
};
|
|
6
|
-
declare class
|
|
6
|
+
declare class BlockchainSyncAddressTxs extends WorkflowEntrypoint<BlockchainEnv, Params> {
|
|
7
7
|
run(event: WorkflowEvent<Params>, step: WorkflowStep): Promise<void>;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
export {
|
|
10
|
+
export { BlockchainSyncAddressTxs };
|
|
@@ -3,8 +3,8 @@ import { WorkflowEntrypoint, WorkflowEvent, WorkflowStep } from 'cloudflare:work
|
|
|
3
3
|
type Params = {
|
|
4
4
|
addressId: string;
|
|
5
5
|
};
|
|
6
|
-
declare class
|
|
6
|
+
declare class BlockchainSyncAddressTxs extends WorkflowEntrypoint<BlockchainEnv, Params> {
|
|
7
7
|
run(event: WorkflowEvent<Params>, step: WorkflowStep): Promise<void>;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
export {
|
|
10
|
+
export { BlockchainSyncAddressTxs };
|
|
@@ -3,8 +3,8 @@ import { WorkflowEntrypoint, WorkflowEvent, WorkflowStep } from 'cloudflare:work
|
|
|
3
3
|
type Params = {
|
|
4
4
|
addressId: string;
|
|
5
5
|
};
|
|
6
|
-
declare class
|
|
6
|
+
declare class BlockchainSyncAddressTxs extends WorkflowEntrypoint<BlockchainEnv, Params> {
|
|
7
7
|
run(event: WorkflowEvent<Params>, step: WorkflowStep): Promise<void>;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
export {
|
|
10
|
+
export { BlockchainSyncAddressTxs };
|
|
@@ -62,7 +62,7 @@ function pushToQueue(queue, message) {
|
|
|
62
62
|
}))
|
|
63
63
|
);
|
|
64
64
|
}
|
|
65
|
-
class
|
|
65
|
+
class BlockchainSyncAddressTxs extends WorkflowEntrypoint {
|
|
66
66
|
async run(event, step) {
|
|
67
67
|
const { addressId } = event.payload;
|
|
68
68
|
const db = drizzle(this.env.BLOCKCHAIN_D1, { schema: tables });
|
|
@@ -198,4 +198,4 @@ class BlockchainSyncAddressTransactions extends WorkflowEntrypoint {
|
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
export {
|
|
201
|
+
export { BlockchainSyncAddressTxs };
|
package/dist/export/wrangler.cjs
CHANGED
|
@@ -27,7 +27,7 @@ function defineBlockchainServiceWrangler(config) {
|
|
|
27
27
|
{
|
|
28
28
|
binding: "SYNC_ADDRESS_TRANSACTIONS_WORKFLOW",
|
|
29
29
|
name: `${project}-blockchain-sync-address-transactions`,
|
|
30
|
-
class_name: "
|
|
30
|
+
class_name: "BlockchainSyncAddressTxs"
|
|
31
31
|
}
|
|
32
32
|
],
|
|
33
33
|
queues: {
|
package/dist/export/wrangler.mjs
CHANGED
|
@@ -25,7 +25,7 @@ function defineBlockchainServiceWrangler(config) {
|
|
|
25
25
|
{
|
|
26
26
|
binding: "SYNC_ADDRESS_TRANSACTIONS_WORKFLOW",
|
|
27
27
|
name: `${project}-blockchain-sync-address-transactions`,
|
|
28
|
-
class_name: "
|
|
28
|
+
class_name: "BlockchainSyncAddressTxs"
|
|
29
29
|
}
|
|
30
30
|
],
|
|
31
31
|
queues: {
|