@xyo-network/pentair-plugin 2.73.4 → 2.74.1
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/Plugin.d.mts +54 -0
- package/dist/Plugin.d.mts.map +1 -0
- package/dist/Plugin.d.ts +54 -0
- package/dist/Plugin.d.ts.map +1 -0
- package/dist/Witness.d.mts +14 -0
- package/dist/Witness.d.mts.map +1 -0
- package/dist/Witness.d.ts +14 -0
- package/dist/Witness.d.ts.map +1 -0
- package/dist/docs.json +7529 -8209
- package/dist/index.d.mts +5 -75
- package/dist/index.d.mts.map +1 -0
- package/dist/index.d.ts +5 -75
- package/dist/index.d.ts.map +1 -0
- package/package.json +9 -15
- package/tsup.config.ts +0 -16
package/dist/index.d.mts
CHANGED
|
@@ -1,75 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import * as _xyo_network_account_model from '@xyo-network/account-model';
|
|
7
|
-
import * as _xyo_network_core from '@xyo-network/core';
|
|
8
|
-
import { AnyConfigSchema } from '@xyo-network/module';
|
|
9
|
-
import { WitnessConfig, WitnessParams, AbstractWitness } from '@xyo-network/witness';
|
|
10
|
-
|
|
11
|
-
type PentairScreenlogicWitnessConfigSchema = 'network.xyo.pentair.screenlogic.witness.config';
|
|
12
|
-
declare const PentairScreenlogicWitnessConfigSchema: PentairScreenlogicWitnessConfigSchema;
|
|
13
|
-
type PentairScreenlogicWitnessConfig = WitnessConfig<{
|
|
14
|
-
schema: PentairScreenlogicWitnessConfigSchema;
|
|
15
|
-
}>;
|
|
16
|
-
type PentairScreenlogicWitnessParams = WitnessParams<AnyConfigSchema<PentairScreenlogicWitnessConfig>>;
|
|
17
|
-
declare class PentairScreenlogicWitness<TParams extends PentairScreenlogicWitnessParams = PentairScreenlogicWitnessParams> extends AbstractWitness<TParams> {
|
|
18
|
-
static configSchemas: "network.xyo.pentair.screenlogic.witness.config"[];
|
|
19
|
-
protected observeHandler(_payloads?: Partial<Payload>[]): Promise<Payload[]>;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
declare const PentairScreenlogicPlugin: () => _xyo_network_payloadset_plugin.PayloadSetWitnessPlugin<PentairScreenlogicWitness<_xyo_network_core.BaseParamsFields & {
|
|
23
|
-
account?: _xyo_network_account_model.AccountInstance | "random" | undefined;
|
|
24
|
-
config: _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & {
|
|
25
|
-
accountDerivationPath?: string | undefined;
|
|
26
|
-
readonly archivist?: _xyo_network_module_model.ArchivistModuleConfig | undefined;
|
|
27
|
-
readonly name?: string | undefined;
|
|
28
|
-
readonly paging?: Record<string, {
|
|
29
|
-
size?: number | undefined;
|
|
30
|
-
}> | undefined;
|
|
31
|
-
readonly schema: string;
|
|
32
|
-
readonly security?: {
|
|
33
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
34
|
-
readonly allowed?: Record<string, (string | _xyo_network_module_model.CosigningAddressSet)[]> | undefined;
|
|
35
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
36
|
-
} | undefined;
|
|
37
|
-
readonly sign?: boolean | undefined;
|
|
38
|
-
readonly storeQueries?: boolean | undefined;
|
|
39
|
-
readonly timestamp?: boolean | undefined;
|
|
40
|
-
} & Omit<Omit<_xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & {
|
|
41
|
-
accountDerivationPath?: string | undefined;
|
|
42
|
-
readonly archivist?: _xyo_network_module_model.ArchivistModuleConfig | undefined;
|
|
43
|
-
readonly name?: string | undefined;
|
|
44
|
-
readonly paging?: Record<string, {
|
|
45
|
-
size?: number | undefined;
|
|
46
|
-
}> | undefined;
|
|
47
|
-
readonly schema: "network.xyo.pentair.screenlogic.witness.config";
|
|
48
|
-
readonly security?: {
|
|
49
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
50
|
-
readonly allowed?: Record<string, (string | _xyo_network_module_model.CosigningAddressSet)[]> | undefined;
|
|
51
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
52
|
-
} | undefined;
|
|
53
|
-
readonly sign?: boolean | undefined;
|
|
54
|
-
readonly storeQueries?: boolean | undefined;
|
|
55
|
-
readonly timestamp?: boolean | undefined;
|
|
56
|
-
} & Omit<{
|
|
57
|
-
archivist?: string | undefined;
|
|
58
|
-
schema: "network.xyo.pentair.screenlogic.witness.config";
|
|
59
|
-
targetSet?: (_xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & _xyo_network_payload_model.PayloadSet & {
|
|
60
|
-
schema: "network.xyo.payload.set";
|
|
61
|
-
}) | undefined;
|
|
62
|
-
} & {
|
|
63
|
-
schema: "network.xyo.pentair.screenlogic.witness.config";
|
|
64
|
-
}, "schema"> & {
|
|
65
|
-
schema: "network.xyo.pentair.screenlogic.witness.config";
|
|
66
|
-
}, "schema"> & {
|
|
67
|
-
schema: string;
|
|
68
|
-
}, "schema"> & {
|
|
69
|
-
schema: string;
|
|
70
|
-
};
|
|
71
|
-
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
72
|
-
wallet?: _xyo_network_wallet_model.WalletInstance | undefined;
|
|
73
|
-
}>>;
|
|
74
|
-
|
|
75
|
-
export { PentairScreenlogicPlugin, PentairScreenlogicWitness, PentairScreenlogicWitnessConfig, PentairScreenlogicWitnessConfigSchema, PentairScreenlogicWitnessParams, PentairScreenlogicPlugin as default };
|
|
1
|
+
import { PentairScreenlogicPlugin } from './Plugin';
|
|
2
|
+
export * from './Witness';
|
|
3
|
+
export { PentairScreenlogicPlugin };
|
|
4
|
+
export default PentairScreenlogicPlugin;
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAA;AAEnD,cAAc,WAAW,CAAA;AAEzB,OAAO,EAAE,wBAAwB,EAAE,CAAA;AAGnC,eAAe,wBAAwB,CAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,75 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import * as _xyo_network_account_model from '@xyo-network/account-model';
|
|
7
|
-
import * as _xyo_network_core from '@xyo-network/core';
|
|
8
|
-
import { AnyConfigSchema } from '@xyo-network/module';
|
|
9
|
-
import { WitnessConfig, WitnessParams, AbstractWitness } from '@xyo-network/witness';
|
|
10
|
-
|
|
11
|
-
type PentairScreenlogicWitnessConfigSchema = 'network.xyo.pentair.screenlogic.witness.config';
|
|
12
|
-
declare const PentairScreenlogicWitnessConfigSchema: PentairScreenlogicWitnessConfigSchema;
|
|
13
|
-
type PentairScreenlogicWitnessConfig = WitnessConfig<{
|
|
14
|
-
schema: PentairScreenlogicWitnessConfigSchema;
|
|
15
|
-
}>;
|
|
16
|
-
type PentairScreenlogicWitnessParams = WitnessParams<AnyConfigSchema<PentairScreenlogicWitnessConfig>>;
|
|
17
|
-
declare class PentairScreenlogicWitness<TParams extends PentairScreenlogicWitnessParams = PentairScreenlogicWitnessParams> extends AbstractWitness<TParams> {
|
|
18
|
-
static configSchemas: "network.xyo.pentair.screenlogic.witness.config"[];
|
|
19
|
-
protected observeHandler(_payloads?: Partial<Payload>[]): Promise<Payload[]>;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
declare const PentairScreenlogicPlugin: () => _xyo_network_payloadset_plugin.PayloadSetWitnessPlugin<PentairScreenlogicWitness<_xyo_network_core.BaseParamsFields & {
|
|
23
|
-
account?: _xyo_network_account_model.AccountInstance | "random" | undefined;
|
|
24
|
-
config: _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & {
|
|
25
|
-
accountDerivationPath?: string | undefined;
|
|
26
|
-
readonly archivist?: _xyo_network_module_model.ArchivistModuleConfig | undefined;
|
|
27
|
-
readonly name?: string | undefined;
|
|
28
|
-
readonly paging?: Record<string, {
|
|
29
|
-
size?: number | undefined;
|
|
30
|
-
}> | undefined;
|
|
31
|
-
readonly schema: string;
|
|
32
|
-
readonly security?: {
|
|
33
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
34
|
-
readonly allowed?: Record<string, (string | _xyo_network_module_model.CosigningAddressSet)[]> | undefined;
|
|
35
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
36
|
-
} | undefined;
|
|
37
|
-
readonly sign?: boolean | undefined;
|
|
38
|
-
readonly storeQueries?: boolean | undefined;
|
|
39
|
-
readonly timestamp?: boolean | undefined;
|
|
40
|
-
} & Omit<Omit<_xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & {
|
|
41
|
-
accountDerivationPath?: string | undefined;
|
|
42
|
-
readonly archivist?: _xyo_network_module_model.ArchivistModuleConfig | undefined;
|
|
43
|
-
readonly name?: string | undefined;
|
|
44
|
-
readonly paging?: Record<string, {
|
|
45
|
-
size?: number | undefined;
|
|
46
|
-
}> | undefined;
|
|
47
|
-
readonly schema: "network.xyo.pentair.screenlogic.witness.config";
|
|
48
|
-
readonly security?: {
|
|
49
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
50
|
-
readonly allowed?: Record<string, (string | _xyo_network_module_model.CosigningAddressSet)[]> | undefined;
|
|
51
|
-
readonly disallowed?: Record<string, string[]> | undefined;
|
|
52
|
-
} | undefined;
|
|
53
|
-
readonly sign?: boolean | undefined;
|
|
54
|
-
readonly storeQueries?: boolean | undefined;
|
|
55
|
-
readonly timestamp?: boolean | undefined;
|
|
56
|
-
} & Omit<{
|
|
57
|
-
archivist?: string | undefined;
|
|
58
|
-
schema: "network.xyo.pentair.screenlogic.witness.config";
|
|
59
|
-
targetSet?: (_xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & _xyo_network_payload_model.PayloadSet & {
|
|
60
|
-
schema: "network.xyo.payload.set";
|
|
61
|
-
}) | undefined;
|
|
62
|
-
} & {
|
|
63
|
-
schema: "network.xyo.pentair.screenlogic.witness.config";
|
|
64
|
-
}, "schema"> & {
|
|
65
|
-
schema: "network.xyo.pentair.screenlogic.witness.config";
|
|
66
|
-
}, "schema"> & {
|
|
67
|
-
schema: string;
|
|
68
|
-
}, "schema"> & {
|
|
69
|
-
schema: string;
|
|
70
|
-
};
|
|
71
|
-
ephemeralQueryAccountEnabled?: boolean | undefined;
|
|
72
|
-
wallet?: _xyo_network_wallet_model.WalletInstance | undefined;
|
|
73
|
-
}>>;
|
|
74
|
-
|
|
75
|
-
export { PentairScreenlogicPlugin, PentairScreenlogicWitness, PentairScreenlogicWitnessConfig, PentairScreenlogicWitnessConfigSchema, PentairScreenlogicWitnessParams, PentairScreenlogicPlugin as default };
|
|
1
|
+
import { PentairScreenlogicPlugin } from './Plugin';
|
|
2
|
+
export * from './Witness';
|
|
3
|
+
export { PentairScreenlogicPlugin };
|
|
4
|
+
export default PentairScreenlogicPlugin;
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAA;AAEnD,cAAc,WAAW,CAAA;AAEzB,OAAO,EAAE,wBAAwB,EAAE,CAAA;AAGnC,eAAe,wBAAwB,CAAA"}
|
package/package.json
CHANGED
|
@@ -10,25 +10,19 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xylabs/assert": "^2.
|
|
14
|
-
"@xyo-network/module": "~2.
|
|
15
|
-
"@xyo-network/payload-model": "~2.
|
|
16
|
-
"@xyo-network/payloadset-plugin": "~2.
|
|
17
|
-
"@xyo-network/pentair-payload-plugin": "~2.
|
|
18
|
-
"@xyo-network/witness": "~2.
|
|
13
|
+
"@xylabs/assert": "^2.11.6",
|
|
14
|
+
"@xyo-network/module": "~2.74.1",
|
|
15
|
+
"@xyo-network/payload-model": "~2.74.1",
|
|
16
|
+
"@xyo-network/payloadset-plugin": "~2.74.1",
|
|
17
|
+
"@xyo-network/pentair-payload-plugin": "~2.74.1",
|
|
18
|
+
"@xyo-network/witness": "~2.74.1",
|
|
19
19
|
"node-screenlogic": "^2.0.0"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@xylabs/ts-scripts-yarn3": "^
|
|
23
|
-
"@xylabs/tsconfig": "^
|
|
24
|
-
"publint": "^0.2.2",
|
|
25
|
-
"tsup": "^7.2.0",
|
|
22
|
+
"@xylabs/ts-scripts-yarn3": "^3.0.28",
|
|
23
|
+
"@xylabs/tsconfig": "^3.0.28",
|
|
26
24
|
"typescript": "^5.2.2"
|
|
27
25
|
},
|
|
28
|
-
"scripts": {
|
|
29
|
-
"package-compile": "tsup && publint",
|
|
30
|
-
"package-recompile": "tsup && publint"
|
|
31
|
-
},
|
|
32
26
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
33
27
|
"docs": "dist/docs.json",
|
|
34
28
|
"types": "dist/index.d.ts",
|
|
@@ -69,5 +63,5 @@
|
|
|
69
63
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
|
|
70
64
|
},
|
|
71
65
|
"sideEffects": false,
|
|
72
|
-
"version": "2.
|
|
66
|
+
"version": "2.74.1"
|
|
73
67
|
}
|
package/tsup.config.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from 'tsup'
|
|
2
|
-
|
|
3
|
-
// eslint-disable-next-line import/no-default-export
|
|
4
|
-
export default defineConfig({
|
|
5
|
-
bundle: true,
|
|
6
|
-
cjsInterop: true,
|
|
7
|
-
clean: false,
|
|
8
|
-
dts: {
|
|
9
|
-
entry: ['src/index.ts'],
|
|
10
|
-
},
|
|
11
|
-
entry: ['src/index.ts'],
|
|
12
|
-
format: ['cjs', 'esm'],
|
|
13
|
-
sourcemap: true,
|
|
14
|
-
splitting: false,
|
|
15
|
-
tsconfig: 'tsconfig.json',
|
|
16
|
-
})
|