@xyo-network/crypto-address-transaction-history-plugin 4.1.0 → 4.2.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/browser/index.d.ts +5 -38
- package/dist/neutral/index.d.ts +5 -38
- package/dist/node/index.d.ts +5 -38
- package/package.json +12 -13
package/dist/browser/index.d.ts
CHANGED
|
@@ -1,38 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import { AnyConfigSchema } from '@xyo-network/module-model';
|
|
7
|
-
import { Schema, Payload } from '@xyo-network/payload-model';
|
|
8
|
-
|
|
9
|
-
type AddressTransactionHistoryWitnessConfig = WitnessConfig<{
|
|
10
|
-
address?: string;
|
|
11
|
-
schema: AddressTransactionHistoryWitnessConfigSchema;
|
|
12
|
-
}>;
|
|
13
|
-
|
|
14
|
-
/** @deprecated - no longer supported by EtherScan */
|
|
15
|
-
declare const getTransactionsForAddress: (
|
|
16
|
-
/**
|
|
17
|
-
* The address of the wallet to search for NFTs
|
|
18
|
-
*/
|
|
19
|
-
_publicAddress: string,
|
|
20
|
-
/**
|
|
21
|
-
* The ethers provider to use to search
|
|
22
|
-
*/
|
|
23
|
-
_provider: EtherscanProvider) => Promise<Transaction[]>;
|
|
24
|
-
|
|
25
|
-
interface AddressTransactionHistoryWitnessParams extends WitnessParams<AnyConfigSchema<AddressTransactionHistoryWitnessConfig>> {
|
|
26
|
-
provider?: EtherscanProvider;
|
|
27
|
-
}
|
|
28
|
-
declare class AddressTransactionHistoryWitness<TParams extends AddressTransactionHistoryWitnessParams = AddressTransactionHistoryWitnessParams> extends AbstractWitness<TParams> {
|
|
29
|
-
static readonly configSchemas: Schema[];
|
|
30
|
-
static readonly defaultConfigSchema: Schema;
|
|
31
|
-
protected get provider(): EtherscanProvider;
|
|
32
|
-
protected observeHandler(): Promise<Payload[]>;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
declare const AddressTransactionHistoryPlugin: () => _xyo_network_payloadset_plugin.PayloadSetWitnessPlugin<AddressTransactionHistoryWitness<AddressTransactionHistoryWitnessParams>>;
|
|
36
|
-
|
|
37
|
-
export { AddressTransactionHistoryPlugin, AddressTransactionHistoryWitness, AddressTransactionHistoryPlugin as default, getTransactionsForAddress };
|
|
38
|
-
export type { AddressTransactionHistoryWitnessConfig, AddressTransactionHistoryWitnessParams };
|
|
1
|
+
export * from './Config.ts';
|
|
2
|
+
export * from './lib/index.ts';
|
|
3
|
+
export { AddressTransactionHistoryPlugin, AddressTransactionHistoryPlugin as default } from './Plugin.ts';
|
|
4
|
+
export * from './Witness.ts';
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
package/dist/neutral/index.d.ts
CHANGED
|
@@ -1,38 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import { AnyConfigSchema } from '@xyo-network/module-model';
|
|
7
|
-
import { Schema, Payload } from '@xyo-network/payload-model';
|
|
8
|
-
|
|
9
|
-
type AddressTransactionHistoryWitnessConfig = WitnessConfig<{
|
|
10
|
-
address?: string;
|
|
11
|
-
schema: AddressTransactionHistoryWitnessConfigSchema;
|
|
12
|
-
}>;
|
|
13
|
-
|
|
14
|
-
/** @deprecated - no longer supported by EtherScan */
|
|
15
|
-
declare const getTransactionsForAddress: (
|
|
16
|
-
/**
|
|
17
|
-
* The address of the wallet to search for NFTs
|
|
18
|
-
*/
|
|
19
|
-
_publicAddress: string,
|
|
20
|
-
/**
|
|
21
|
-
* The ethers provider to use to search
|
|
22
|
-
*/
|
|
23
|
-
_provider: EtherscanProvider) => Promise<Transaction[]>;
|
|
24
|
-
|
|
25
|
-
interface AddressTransactionHistoryWitnessParams extends WitnessParams<AnyConfigSchema<AddressTransactionHistoryWitnessConfig>> {
|
|
26
|
-
provider?: EtherscanProvider;
|
|
27
|
-
}
|
|
28
|
-
declare class AddressTransactionHistoryWitness<TParams extends AddressTransactionHistoryWitnessParams = AddressTransactionHistoryWitnessParams> extends AbstractWitness<TParams> {
|
|
29
|
-
static readonly configSchemas: Schema[];
|
|
30
|
-
static readonly defaultConfigSchema: Schema;
|
|
31
|
-
protected get provider(): EtherscanProvider;
|
|
32
|
-
protected observeHandler(): Promise<Payload[]>;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
declare const AddressTransactionHistoryPlugin: () => _xyo_network_payloadset_plugin.PayloadSetWitnessPlugin<AddressTransactionHistoryWitness<AddressTransactionHistoryWitnessParams>>;
|
|
36
|
-
|
|
37
|
-
export { AddressTransactionHistoryPlugin, AddressTransactionHistoryWitness, AddressTransactionHistoryPlugin as default, getTransactionsForAddress };
|
|
38
|
-
export type { AddressTransactionHistoryWitnessConfig, AddressTransactionHistoryWitnessParams };
|
|
1
|
+
export * from './Config.ts';
|
|
2
|
+
export * from './lib/index.ts';
|
|
3
|
+
export { AddressTransactionHistoryPlugin, AddressTransactionHistoryPlugin as default } from './Plugin.ts';
|
|
4
|
+
export * from './Witness.ts';
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
package/dist/node/index.d.ts
CHANGED
|
@@ -1,38 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import { AnyConfigSchema } from '@xyo-network/module-model';
|
|
7
|
-
import { Schema, Payload } from '@xyo-network/payload-model';
|
|
8
|
-
|
|
9
|
-
type AddressTransactionHistoryWitnessConfig = WitnessConfig<{
|
|
10
|
-
address?: string;
|
|
11
|
-
schema: AddressTransactionHistoryWitnessConfigSchema;
|
|
12
|
-
}>;
|
|
13
|
-
|
|
14
|
-
/** @deprecated - no longer supported by EtherScan */
|
|
15
|
-
declare const getTransactionsForAddress: (
|
|
16
|
-
/**
|
|
17
|
-
* The address of the wallet to search for NFTs
|
|
18
|
-
*/
|
|
19
|
-
_publicAddress: string,
|
|
20
|
-
/**
|
|
21
|
-
* The ethers provider to use to search
|
|
22
|
-
*/
|
|
23
|
-
_provider: EtherscanProvider) => Promise<Transaction[]>;
|
|
24
|
-
|
|
25
|
-
interface AddressTransactionHistoryWitnessParams extends WitnessParams<AnyConfigSchema<AddressTransactionHistoryWitnessConfig>> {
|
|
26
|
-
provider?: EtherscanProvider;
|
|
27
|
-
}
|
|
28
|
-
declare class AddressTransactionHistoryWitness<TParams extends AddressTransactionHistoryWitnessParams = AddressTransactionHistoryWitnessParams> extends AbstractWitness<TParams> {
|
|
29
|
-
static readonly configSchemas: Schema[];
|
|
30
|
-
static readonly defaultConfigSchema: Schema;
|
|
31
|
-
protected get provider(): EtherscanProvider;
|
|
32
|
-
protected observeHandler(): Promise<Payload[]>;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
declare const AddressTransactionHistoryPlugin: () => _xyo_network_payloadset_plugin.PayloadSetWitnessPlugin<AddressTransactionHistoryWitness<AddressTransactionHistoryWitnessParams>>;
|
|
36
|
-
|
|
37
|
-
export { AddressTransactionHistoryPlugin, AddressTransactionHistoryWitness, AddressTransactionHistoryPlugin as default, getTransactionsForAddress };
|
|
38
|
-
export type { AddressTransactionHistoryWitnessConfig, AddressTransactionHistoryWitnessParams };
|
|
1
|
+
export * from './Config.ts';
|
|
2
|
+
export * from './lib/index.ts';
|
|
3
|
+
export { AddressTransactionHistoryPlugin, AddressTransactionHistoryPlugin as default } from './Plugin.ts';
|
|
4
|
+
export * from './Witness.ts';
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/crypto-address-transaction-history-plugin",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.0",
|
|
4
4
|
"description": "Typescript/Javascript Plugins for XYO Platform",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -29,21 +29,20 @@
|
|
|
29
29
|
"module": "dist/neutral/index.mjs",
|
|
30
30
|
"types": "dist/neutral/index.d.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@xylabs/assert": "^4.
|
|
33
|
-
"@xyo-network/abstract-witness": "^4.
|
|
34
|
-
"@xyo-network/crypto-address-transaction-history-payload-plugin": "^4.
|
|
35
|
-
"@xyo-network/module-model": "^4.
|
|
36
|
-
"@xyo-network/payload-model": "^4.
|
|
37
|
-
"@xyo-network/payloadset-plugin": "^4.
|
|
38
|
-
"@xyo-network/witness-model": "^4.
|
|
32
|
+
"@xylabs/assert": "^4.15.1",
|
|
33
|
+
"@xyo-network/abstract-witness": "^4.3.0",
|
|
34
|
+
"@xyo-network/crypto-address-transaction-history-payload-plugin": "^4.2.0",
|
|
35
|
+
"@xyo-network/module-model": "^4.3.0",
|
|
36
|
+
"@xyo-network/payload-model": "^4.3.0",
|
|
37
|
+
"@xyo-network/payloadset-plugin": "^4.3.0",
|
|
38
|
+
"@xyo-network/witness-model": "^4.3.0",
|
|
39
39
|
"ethers": "^6.15.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@xylabs/ts-scripts-yarn3": "^7.0.
|
|
43
|
-
"@xylabs/tsconfig": "^7.0.
|
|
44
|
-
"@xylabs/vitest-extended": "^4.
|
|
45
|
-
"@xyo-network/payload-wrapper": "^4.
|
|
46
|
-
"knip": "^5.61.3",
|
|
42
|
+
"@xylabs/ts-scripts-yarn3": "^7.0.1",
|
|
43
|
+
"@xylabs/tsconfig": "^7.0.1",
|
|
44
|
+
"@xylabs/vitest-extended": "^4.15.1",
|
|
45
|
+
"@xyo-network/payload-wrapper": "^4.3.0",
|
|
47
46
|
"typescript": "^5.8.3",
|
|
48
47
|
"vitest": "^3.2.4"
|
|
49
48
|
},
|