@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.
@@ -64,7 +64,7 @@ function pushToQueue(queue, message) {
64
64
  }))
65
65
  );
66
66
  }
67
- class BlockchainSyncAddressTransactions extends cloudflare_workers.WorkflowEntrypoint {
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.BlockchainSyncAddressTransactions = BlockchainSyncAddressTransactions;
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 BlockchainSyncAddressTransactions extends WorkflowEntrypoint<BlockchainEnv, Params> {
6
+ declare class BlockchainSyncAddressTxs extends WorkflowEntrypoint<BlockchainEnv, Params> {
7
7
  run(event: WorkflowEvent<Params>, step: WorkflowStep): Promise<void>;
8
8
  }
9
9
 
10
- export { BlockchainSyncAddressTransactions };
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 BlockchainSyncAddressTransactions extends WorkflowEntrypoint<BlockchainEnv, Params> {
6
+ declare class BlockchainSyncAddressTxs extends WorkflowEntrypoint<BlockchainEnv, Params> {
7
7
  run(event: WorkflowEvent<Params>, step: WorkflowStep): Promise<void>;
8
8
  }
9
9
 
10
- export { BlockchainSyncAddressTransactions };
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 BlockchainSyncAddressTransactions extends WorkflowEntrypoint<BlockchainEnv, Params> {
6
+ declare class BlockchainSyncAddressTxs extends WorkflowEntrypoint<BlockchainEnv, Params> {
7
7
  run(event: WorkflowEvent<Params>, step: WorkflowStep): Promise<void>;
8
8
  }
9
9
 
10
- export { BlockchainSyncAddressTransactions };
10
+ export { BlockchainSyncAddressTxs };
@@ -62,7 +62,7 @@ function pushToQueue(queue, message) {
62
62
  }))
63
63
  );
64
64
  }
65
- class BlockchainSyncAddressTransactions extends WorkflowEntrypoint {
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 { BlockchainSyncAddressTransactions };
201
+ export { BlockchainSyncAddressTxs };
@@ -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: "BlockchainSyncAddressTransactions"
30
+ class_name: "BlockchainSyncAddressTxs"
31
31
  }
32
32
  ],
33
33
  queues: {
@@ -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: "BlockchainSyncAddressTransactions"
28
+ class_name: "BlockchainSyncAddressTxs"
29
29
  }
30
30
  ],
31
31
  queues: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@develit-services/blockchain",
3
- "version": "0.8.4",
3
+ "version": "0.8.5",
4
4
  "author": "Develit.io s.r.o.",
5
5
  "type": "module",
6
6
  "exports": {