@trufnetwork/sdk-js 0.3.1 → 0.3.3
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/README.md +53 -32
- package/dist/cjs/client/client.cjs.map +2 -2
- package/dist/cjs/client/listStreams.cjs +2 -1
- package/dist/cjs/client/listStreams.cjs.map +2 -2
- package/dist/cjs/contracts-api/action.cjs +11 -0
- package/dist/cjs/contracts-api/action.cjs.map +2 -2
- package/dist/esm/client/client.mjs.map +2 -2
- package/dist/esm/client/listStreams.mjs +2 -1
- package/dist/esm/client/listStreams.mjs.map +2 -2
- package/dist/esm/contracts-api/action.mjs +11 -0
- package/dist/esm/contracts-api/action.mjs.map +2 -2
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/client/client.d.ts +1 -0
- package/dist/types/client/client.d.ts.map +1 -1
- package/dist/types/client/listStreams.d.ts.map +1 -1
- package/dist/types/contracts-api/action.d.ts +4 -0
- package/dist/types/contracts-api/action.d.ts.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,16 +6,20 @@ The TN SDK provides developers with tools to interact with the Truf Network, a d
|
|
|
6
6
|
|
|
7
7
|
### Prerequisites
|
|
8
8
|
- Node.js 18 or later (For enabling Explorer-related features, please use Node.js 18)
|
|
9
|
+
- A valid Ethereum private key
|
|
9
10
|
|
|
10
11
|
### Installation
|
|
11
12
|
```bash
|
|
12
13
|
npm install @trufnetwork/sdk-js
|
|
13
|
-
# or
|
|
14
|
+
# or
|
|
15
|
+
yarn add @trufnetwork/sdk-js
|
|
16
|
+
# or
|
|
17
|
+
pnpm install @trufnetwork/sdk-js
|
|
14
18
|
```
|
|
15
19
|
|
|
16
20
|
### Environment-specific Usage
|
|
17
21
|
|
|
18
|
-
```
|
|
22
|
+
```typescript
|
|
19
23
|
// For Node.js applications
|
|
20
24
|
import { NodeTNClient } from "@trufnetwork/sdk-js";
|
|
21
25
|
|
|
@@ -23,7 +27,7 @@ import { NodeTNClient } from "@trufnetwork/sdk-js";
|
|
|
23
27
|
import { BrowserTNClient } from "@trufnetwork/sdk-js";
|
|
24
28
|
```
|
|
25
29
|
|
|
26
|
-
|
|
30
|
+
## Client Initialization
|
|
27
31
|
|
|
28
32
|
```ts
|
|
29
33
|
import { NodeTNClient, StreamId } from "@trufnetwork/sdk-js";
|
|
@@ -34,12 +38,12 @@ const wallet = new Wallet("00000000000000000000000000000000000000000000000000000
|
|
|
34
38
|
|
|
35
39
|
// Initialize client
|
|
36
40
|
const client = new NodeTNClient({
|
|
37
|
-
endpoint: "https://
|
|
41
|
+
endpoint: "https://gateway.mainnet.truf.network",
|
|
38
42
|
signerInfo: {
|
|
39
43
|
address: wallet.address,
|
|
40
44
|
signer: wallet, // Any object that implements signMessage
|
|
41
45
|
},
|
|
42
|
-
chainId: "
|
|
46
|
+
chainId: "tn-v2", // or use NodeTNClient.getDefaultChainId()
|
|
43
47
|
});
|
|
44
48
|
|
|
45
49
|
// Deploy and initialize a stream
|
|
@@ -61,38 +65,55 @@ const data = await stream.getRecord({
|
|
|
61
65
|
});
|
|
62
66
|
```
|
|
63
67
|
|
|
64
|
-
###
|
|
68
|
+
### Reading from Truflation AI Index
|
|
65
69
|
|
|
66
|
-
|
|
67
|
-
You can request the explorer write only connection string by contacting us.
|
|
70
|
+
You can easily read data from existing indexes like the Truflation AI Index:
|
|
68
71
|
|
|
69
72
|
```ts
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
+
import { NodeTNClient, StreamId, EthereumAddress } from "@trufnetwork/sdk-js";
|
|
74
|
+
import { Wallet } from "ethers";
|
|
75
|
+
|
|
76
|
+
const wallet = new Wallet("0000000000000000000000000000000000000000000000000000000000000001");
|
|
77
|
+
|
|
78
|
+
const client = new NodeTNClient({
|
|
79
|
+
endpoint: "https://gateway.mainnet.truf.network",
|
|
80
|
+
signerInfo: {
|
|
81
|
+
address: wallet.address,
|
|
82
|
+
signer: wallet,
|
|
83
|
+
},
|
|
84
|
+
chainId: "tn-v2",
|
|
73
85
|
});
|
|
74
|
-
```
|
|
75
86
|
|
|
76
|
-
|
|
87
|
+
// Create a stream locator for the AI Index
|
|
88
|
+
const aiIndexLocator = {
|
|
89
|
+
streamId: StreamId.fromString("st527bf3897aa3d6f5ae15a0af846db6").throw(),
|
|
90
|
+
dataProvider: EthereumAddress.fromString("0x4710a8d8f0d845da110086812a32de6d90d7ff5c").throw(),
|
|
91
|
+
};
|
|
77
92
|
|
|
78
|
-
|
|
79
|
-
|
|
93
|
+
// Load the action client
|
|
94
|
+
const stream = client.loadAction();
|
|
80
95
|
|
|
81
|
-
|
|
82
|
-
const
|
|
83
|
-
|
|
84
|
-
neonConnectionString: yourNeonConnectionString,
|
|
96
|
+
// Get the latest records
|
|
97
|
+
const records = await stream.getRecord({
|
|
98
|
+
stream: aiIndexLocator,
|
|
85
99
|
});
|
|
100
|
+
|
|
101
|
+
console.log("AI Index records:", records);
|
|
86
102
|
```
|
|
87
103
|
|
|
88
|
-
### Explorer
|
|
104
|
+
### Explorer Interaction
|
|
89
105
|
|
|
90
106
|
To enable Explorer-related features, you need to set the `neonConnectionString` in the `NodeTNClient` constructor.
|
|
91
|
-
You can request the explorer write
|
|
107
|
+
You can request the explorer write-only connection string by contacting us.
|
|
92
108
|
|
|
93
109
|
```ts
|
|
94
110
|
const client = new NodeTNClient({
|
|
95
|
-
|
|
111
|
+
endpoint: "https://gateway.mainnet.truf.network",
|
|
112
|
+
signerInfo: {
|
|
113
|
+
address: wallet.address,
|
|
114
|
+
signer: wallet,
|
|
115
|
+
},
|
|
116
|
+
chainId: "tn-v2",
|
|
96
117
|
neonConnectionString: yourNeonConnectionString,
|
|
97
118
|
});
|
|
98
119
|
```
|
|
@@ -101,7 +122,7 @@ For a complete working example:
|
|
|
101
122
|
- Check our [TN SDK Demo Repository](https://github.com/truflation/tsn-sdk-demo)
|
|
102
123
|
- Try the [Live Demo on CodeSandbox](https://codesandbox.io/p/devbox/m2r3tt?file=%2Fsrc%2Froutes%2F%2Bpage.svelte)
|
|
103
124
|
- Try reading from [a Truflation Stream on CodeSandbox with NodeJS](https://codesandbox.io/p/devbox/rtm7mn?file=%2Findex.ts%3A22%2C11)
|
|
104
|
-
-
|
|
125
|
+
- Check out the [TN SDK JS Example Directory](./examples). It contains examples for stream deployment, data insertion, data retrieval, and stream destruction.
|
|
105
126
|
|
|
106
127
|
## Stream Types
|
|
107
128
|
|
|
@@ -110,7 +131,7 @@ TN supports two main types of streams:
|
|
|
110
131
|
- **Primitive Streams**: Direct data sources from providers
|
|
111
132
|
- **Composed Streams**: Aggregate data from multiple streams using weights
|
|
112
133
|
|
|
113
|
-
More information about TN components can be found in the [Js
|
|
134
|
+
More information about TN components can be found in the [Js SDK Documentation](https://github.com/trufnetwork/sdk-js/blob/main/docs/api-reference.md).
|
|
114
135
|
|
|
115
136
|
## Documentation
|
|
116
137
|
|
|
@@ -118,9 +139,9 @@ More information about TN components can be found in the [Js TN-SDK Documentatio
|
|
|
118
139
|
- [Core Concepts](./docs/core-concepts.md)
|
|
119
140
|
- [API Reference](./docs/api-reference.md)
|
|
120
141
|
|
|
121
|
-
##
|
|
142
|
+
## Mainnet Network
|
|
122
143
|
|
|
123
|
-
|
|
144
|
+
The mainnet network is available at https://gateway.mainnet.truf.network
|
|
124
145
|
|
|
125
146
|
## Running with Deno
|
|
126
147
|
|
|
@@ -132,21 +153,21 @@ import { ... } from "npm:@trufnetwork/sdk-js"
|
|
|
132
153
|
|
|
133
154
|
### Deno Environment Permissions
|
|
134
155
|
|
|
135
|
-
By default, some dependencies
|
|
156
|
+
By default, some dependencies require environment permissions. If you need to run without environment permissions, please see [this GitHub issue](https://github.com/denoland/deno/issues/20898#issuecomment-2500396620) for workarounds.
|
|
157
|
+
|
|
158
|
+
## Serverless Deployment Notes
|
|
136
159
|
|
|
137
|
-
|
|
160
|
+
### Handling Crypto Hashing in Serverless Environments
|
|
138
161
|
|
|
139
162
|
When deploying to serverless environments, some Node.js modules like `crypto-hash` may not work as expected due to
|
|
140
163
|
compatibility issues. To resolve this, you can create a shim for the `crypto-hash` module and use
|
|
141
164
|
Webpack's `NormalModuleReplacementPlugin` to replace it during the build process.
|
|
142
165
|
|
|
143
|
-
### Steps to Add a Crypto Hash Shim
|
|
144
|
-
|
|
145
166
|
#### 1. Create a Shim File
|
|
146
167
|
|
|
147
168
|
Add a new file named `crypto-hash-sync.js` to your project:
|
|
148
169
|
|
|
149
|
-
```
|
|
170
|
+
```js
|
|
150
171
|
import { createHash } from 'crypto';
|
|
151
172
|
|
|
152
173
|
export const sha1 = (input) => createHash('sha1').update(input).digest('hex');
|
|
@@ -159,7 +180,7 @@ export const sha512 = (input) => createHash('sha512').update(input).digest('hex'
|
|
|
159
180
|
|
|
160
181
|
Modify your `next.config.js` (or equivalent Webpack configuration file) to include the following:
|
|
161
182
|
|
|
162
|
-
```
|
|
183
|
+
```js
|
|
163
184
|
const path = require('path');
|
|
164
185
|
|
|
165
186
|
module.exports = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/client/client.ts"],
|
|
4
|
-
"sourcesContent": ["import { Client, KwilSigner, NodeKwil, WebKwil } from \"@kwilteam/kwil-js\";\nimport { KwilConfig } from \"@kwilteam/kwil-js/dist/api_client/config\";\nimport { Kwil } from \"@kwilteam/kwil-js/dist/client/kwil\";\nimport { EthSigner } from \"@kwilteam/kwil-js/dist/core/signature\";\nimport { EnvironmentType } from \"@kwilteam/kwil-js/dist/core/enums\";\nimport { GenericResponse } from \"@kwilteam/kwil-js/dist/core/resreq\";\nimport { TxReceipt } from \"@kwilteam/kwil-js/dist/core/tx\";\nimport { TxInfoReceipt } from \"@kwilteam/kwil-js/dist/core/txQuery\";\nimport { ComposedAction } from \"../contracts-api/composedAction\";\nimport { deployStream } from \"../contracts-api/deployStream\";\nimport { deleteStream } from \"../contracts-api/deleteStream\";\nimport { PrimitiveAction } from \"../contracts-api/primitiveAction\";\nimport { Action } from \"../contracts-api/action\";\nimport { StreamType } from \"../contracts-api/contractValues\";\nimport { StreamLocator } from \"../types/stream\";\nimport { EthereumAddress } from \"../util/EthereumAddress\";\nimport { StreamId } from \"../util/StreamId\";\nimport { listStreams } from \"./listStreams\";\nimport { getLastTransactions } from \"./getLastTransactions\";\n\nexport interface SignerInfo {\n // we need to have the address upfront to create the KwilSigner, instead of relying on the signer to return it asynchronously\n address: string;\n signer: EthSigner;\n}\n\nexport type TNClientOptions = {\n endpoint: string;\n signerInfo: SignerInfo;\n neonConnectionString?: string;\n} & Omit<KwilConfig, \"kwilProvider\">;\n\nexport interface ListStreamsInput {\n dataProvider?: string;\n limit?: number;\n offset?: number;\n orderBy?: string;\n}\n\n/**\n * @param dataProvider optional address; when omitted or null, returns for all providers\n * @param limitSize max rows to return (default 6, max 100)\n */\nexport interface GetLastTransactionsInput {\n dataProvider?: string;\n limitSize?: number;\n}\n\nexport abstract class BaseTNClient<T extends EnvironmentType> {\n protected kwilClient: Kwil<T> | undefined;\n protected signerInfo: SignerInfo;\n protected neonConnectionString: string | undefined;\n\n protected constructor(options: TNClientOptions) {\n this.signerInfo = options.signerInfo;\n this.neonConnectionString = options.neonConnectionString;\n }\n\n /**\n * Waits for a transaction to be mined by TN.\n * @param txHash - The transaction hash to wait for.\n * @param timeout - The timeout in milliseconds.\n * @returns A promise that resolves to the transaction info receipt.\n */\n async waitForTx(txHash: string, timeout = 12000): Promise<TxInfoReceipt> {\n return new Promise<TxInfoReceipt>(async (resolve, reject) => {\n const interval = setInterval(async () => {\n const receipt = await this.getKwilClient()\n [\"txInfoClient\"](txHash)\n .catch(() => ({ data: undefined, status: undefined }));\n switch (receipt.status) {\n case 200:\n if (receipt.data?.tx_result?.log !== undefined && receipt.data?.tx_result?.log.includes(\"ERROR\")) {\n reject(\n new Error(\n `Transaction failed: status ${receipt.status} : log message ${receipt.data?.tx_result.log}`,\n ))\n } else {\n resolve(receipt.data!);\n }\n break;\n case undefined:\n break;\n default:\n reject(\n new Error(\n `Transaction failed: status ${receipt.status} : log message ${receipt.data?.tx_result.log}`,\n ),\n );\n }\n }, 1000);\n setTimeout(() => {\n clearInterval(interval);\n reject(new Error(\"Transaction failed: Timeout\"));\n }, timeout);\n });\n }\n\n /**\n * Returns the Kwil signer used by the client.\n * @returns An instance of KwilSigner.\n */\n getKwilSigner(): KwilSigner {\n return new KwilSigner(\n this.signerInfo.signer,\n this.address().getAddress(),\n );\n }\n\n /**\n * Returns the Kwil client used by the client.\n * @returns An instance of Kwil.\n * @throws If the Kwil client is not initialized.\n */\n getKwilClient(): Kwil<EnvironmentType> {\n if (!this.kwilClient) {\n throw new Error(\"Kwil client not initialized\");\n }\n return this.kwilClient;\n }\n\n /**\n * Returns the Neon connection string used by the client.\n */\n getNeonConnectionString(): string | undefined {\n return this.neonConnectionString;\n }\n\n /**\n * Deploys a new stream.\n * @param streamId - The ID of the stream to deploy.\n * @param streamType - The type of the stream.\n * @param synchronous - Whether the deployment should be synchronous.\n * @param contractVersion\n * @returns A promise that resolves to a generic response containing the transaction receipt.\n */\n async deployStream(\n streamId: StreamId,\n streamType: StreamType,\n synchronous?: boolean,\n ): Promise<GenericResponse<TxReceipt>> {\n return await deployStream({\n streamId,\n streamType,\n synchronous,\n kwilClient: this.getKwilClient(),\n kwilSigner: this.getKwilSigner(),\n neonConnectionString: this.getNeonConnectionString(),\n });\n }\n\n /**\n * Destroys a stream.\n * @param stream - The StreamLocator of the stream to destroy.\n * @param synchronous - Whether the destruction should be synchronous.\n * @returns A promise that resolves to a generic response containing the transaction receipt.\n */\n async destroyStream(\n stream: StreamLocator,\n synchronous?: boolean,\n ): Promise<GenericResponse<TxReceipt>> {\n return await deleteStream({\n stream,\n synchronous,\n kwilClient: this.getKwilClient(),\n kwilSigner: this.getKwilSigner(),\n });\n }\n\n /**\n * Loads an already deployed stream, permitting its API usage.\n * @returns An instance of IStream.\n */\n loadAction(): Action {\n return new Action(\n this.getKwilClient() as WebKwil | NodeKwil,\n this.getKwilSigner(),\n );\n }\n\n /**\n * Loads a primitive stream.\n * @returns An instance of IPrimitiveStream.\n */\n loadPrimitiveAction(): PrimitiveAction {\n return PrimitiveAction.fromStream(this.loadAction());\n }\n\n /**\n * Loads a composed stream.\n * @returns An instance of IComposedStream.\n */\n loadComposedAction(): ComposedAction {\n return ComposedAction.fromStream(this.loadAction(), this.getNeonConnectionString());\n }\n\n /**\n * Creates a new stream locator.\n * @param streamId - The ID of the stream.\n * @returns A StreamLocator object.\n */\n ownStreamLocator(streamId: StreamId): StreamLocator {\n return {\n streamId,\n dataProvider: this.address(),\n };\n }\n\n /**\n * Returns the address of the signer used by the client.\n * @returns An instance of EthereumAddress.\n */\n address(): EthereumAddress {\n return new EthereumAddress(this.signerInfo.address);\n }\n\n /**\n * Returns all streams from the TN network.\n * @param input - The input parameters for listing streams.\n * @returns A promise that resolves to a list of stream locators.\n */\n async getListStreams(input: ListStreamsInput): Promise<StreamLocator[]> {\n return listStreams(this.getKwilClient() as WebKwil | NodeKwil,this.getKwilSigner(),input);\n }\n\n /**\n * Returns the last write activity across streams.\n * @param input - The input parameters for getting last transactions.\n * @returns A promise that resolves to a list of last transactions.\n */\n async getLastTransactions(input: GetLastTransactionsInput): Promise<any[]> {\n return getLastTransactions(this.getKwilClient() as WebKwil | NodeKwil,this.getKwilSigner(),input);\n }\n\n /**\n * Get the default chain id for a provider. Use with caution, as this decreases the security of the TN.\n * @param provider - The provider URL.\n * @returns A promise that resolves to the chain ID.\n */\n public static async getDefaultChainId(provider: string) {\n const kwilClient = new Client({\n kwilProvider: provider,\n });\n const chainInfo = await kwilClient[\"chainInfoClient\"]();\n return chainInfo.data?.chain_id;\n }\n}\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,qBAAsD;AAQtD,4BAA+B;AAC/B,0BAA6B;AAC7B,0BAA6B;AAC7B,6BAAgC;AAChC,oBAAuB;AAGvB,6BAAgC;AAEhC,yBAA4B;AAC5B,iCAAoC;
|
|
4
|
+
"sourcesContent": ["import { Client, KwilSigner, NodeKwil, WebKwil } from \"@kwilteam/kwil-js\";\nimport { KwilConfig } from \"@kwilteam/kwil-js/dist/api_client/config\";\nimport { Kwil } from \"@kwilteam/kwil-js/dist/client/kwil\";\nimport { EthSigner } from \"@kwilteam/kwil-js/dist/core/signature\";\nimport { EnvironmentType } from \"@kwilteam/kwil-js/dist/core/enums\";\nimport { GenericResponse } from \"@kwilteam/kwil-js/dist/core/resreq\";\nimport { TxReceipt } from \"@kwilteam/kwil-js/dist/core/tx\";\nimport { TxInfoReceipt } from \"@kwilteam/kwil-js/dist/core/txQuery\";\nimport { ComposedAction } from \"../contracts-api/composedAction\";\nimport { deployStream } from \"../contracts-api/deployStream\";\nimport { deleteStream } from \"../contracts-api/deleteStream\";\nimport { PrimitiveAction } from \"../contracts-api/primitiveAction\";\nimport { Action } from \"../contracts-api/action\";\nimport { StreamType } from \"../contracts-api/contractValues\";\nimport { StreamLocator } from \"../types/stream\";\nimport { EthereumAddress } from \"../util/EthereumAddress\";\nimport { StreamId } from \"../util/StreamId\";\nimport { listStreams } from \"./listStreams\";\nimport { getLastTransactions } from \"./getLastTransactions\";\n\nexport interface SignerInfo {\n // we need to have the address upfront to create the KwilSigner, instead of relying on the signer to return it asynchronously\n address: string;\n signer: EthSigner;\n}\n\nexport type TNClientOptions = {\n endpoint: string;\n signerInfo: SignerInfo;\n neonConnectionString?: string;\n} & Omit<KwilConfig, \"kwilProvider\">;\n\nexport interface ListStreamsInput {\n dataProvider?: string;\n limit?: number;\n offset?: number;\n orderBy?: string;\n blockHeight?: number;\n}\n\n/**\n * @param dataProvider optional address; when omitted or null, returns for all providers\n * @param limitSize max rows to return (default 6, max 100)\n */\nexport interface GetLastTransactionsInput {\n dataProvider?: string;\n limitSize?: number;\n}\n\nexport abstract class BaseTNClient<T extends EnvironmentType> {\n protected kwilClient: Kwil<T> | undefined;\n protected signerInfo: SignerInfo;\n protected neonConnectionString: string | undefined;\n\n protected constructor(options: TNClientOptions) {\n this.signerInfo = options.signerInfo;\n this.neonConnectionString = options.neonConnectionString;\n }\n\n /**\n * Waits for a transaction to be mined by TN.\n * @param txHash - The transaction hash to wait for.\n * @param timeout - The timeout in milliseconds.\n * @returns A promise that resolves to the transaction info receipt.\n */\n async waitForTx(txHash: string, timeout = 12000): Promise<TxInfoReceipt> {\n return new Promise<TxInfoReceipt>(async (resolve, reject) => {\n const interval = setInterval(async () => {\n const receipt = await this.getKwilClient()\n [\"txInfoClient\"](txHash)\n .catch(() => ({ data: undefined, status: undefined }));\n switch (receipt.status) {\n case 200:\n if (receipt.data?.tx_result?.log !== undefined && receipt.data?.tx_result?.log.includes(\"ERROR\")) {\n reject(\n new Error(\n `Transaction failed: status ${receipt.status} : log message ${receipt.data?.tx_result.log}`,\n ))\n } else {\n resolve(receipt.data!);\n }\n break;\n case undefined:\n break;\n default:\n reject(\n new Error(\n `Transaction failed: status ${receipt.status} : log message ${receipt.data?.tx_result.log}`,\n ),\n );\n }\n }, 1000);\n setTimeout(() => {\n clearInterval(interval);\n reject(new Error(\"Transaction failed: Timeout\"));\n }, timeout);\n });\n }\n\n /**\n * Returns the Kwil signer used by the client.\n * @returns An instance of KwilSigner.\n */\n getKwilSigner(): KwilSigner {\n return new KwilSigner(\n this.signerInfo.signer,\n this.address().getAddress(),\n );\n }\n\n /**\n * Returns the Kwil client used by the client.\n * @returns An instance of Kwil.\n * @throws If the Kwil client is not initialized.\n */\n getKwilClient(): Kwil<EnvironmentType> {\n if (!this.kwilClient) {\n throw new Error(\"Kwil client not initialized\");\n }\n return this.kwilClient;\n }\n\n /**\n * Returns the Neon connection string used by the client.\n */\n getNeonConnectionString(): string | undefined {\n return this.neonConnectionString;\n }\n\n /**\n * Deploys a new stream.\n * @param streamId - The ID of the stream to deploy.\n * @param streamType - The type of the stream.\n * @param synchronous - Whether the deployment should be synchronous.\n * @param contractVersion\n * @returns A promise that resolves to a generic response containing the transaction receipt.\n */\n async deployStream(\n streamId: StreamId,\n streamType: StreamType,\n synchronous?: boolean,\n ): Promise<GenericResponse<TxReceipt>> {\n return await deployStream({\n streamId,\n streamType,\n synchronous,\n kwilClient: this.getKwilClient(),\n kwilSigner: this.getKwilSigner(),\n neonConnectionString: this.getNeonConnectionString(),\n });\n }\n\n /**\n * Destroys a stream.\n * @param stream - The StreamLocator of the stream to destroy.\n * @param synchronous - Whether the destruction should be synchronous.\n * @returns A promise that resolves to a generic response containing the transaction receipt.\n */\n async destroyStream(\n stream: StreamLocator,\n synchronous?: boolean,\n ): Promise<GenericResponse<TxReceipt>> {\n return await deleteStream({\n stream,\n synchronous,\n kwilClient: this.getKwilClient(),\n kwilSigner: this.getKwilSigner(),\n });\n }\n\n /**\n * Loads an already deployed stream, permitting its API usage.\n * @returns An instance of IStream.\n */\n loadAction(): Action {\n return new Action(\n this.getKwilClient() as WebKwil | NodeKwil,\n this.getKwilSigner(),\n );\n }\n\n /**\n * Loads a primitive stream.\n * @returns An instance of IPrimitiveStream.\n */\n loadPrimitiveAction(): PrimitiveAction {\n return PrimitiveAction.fromStream(this.loadAction());\n }\n\n /**\n * Loads a composed stream.\n * @returns An instance of IComposedStream.\n */\n loadComposedAction(): ComposedAction {\n return ComposedAction.fromStream(this.loadAction(), this.getNeonConnectionString());\n }\n\n /**\n * Creates a new stream locator.\n * @param streamId - The ID of the stream.\n * @returns A StreamLocator object.\n */\n ownStreamLocator(streamId: StreamId): StreamLocator {\n return {\n streamId,\n dataProvider: this.address(),\n };\n }\n\n /**\n * Returns the address of the signer used by the client.\n * @returns An instance of EthereumAddress.\n */\n address(): EthereumAddress {\n return new EthereumAddress(this.signerInfo.address);\n }\n\n /**\n * Returns all streams from the TN network.\n * @param input - The input parameters for listing streams.\n * @returns A promise that resolves to a list of stream locators.\n */\n async getListStreams(input: ListStreamsInput): Promise<StreamLocator[]> {\n return listStreams(this.getKwilClient() as WebKwil | NodeKwil,this.getKwilSigner(),input);\n }\n\n /**\n * Returns the last write activity across streams.\n * @param input - The input parameters for getting last transactions.\n * @returns A promise that resolves to a list of last transactions.\n */\n async getLastTransactions(input: GetLastTransactionsInput): Promise<any[]> {\n return getLastTransactions(this.getKwilClient() as WebKwil | NodeKwil,this.getKwilSigner(),input);\n }\n\n /**\n * Get the default chain id for a provider. Use with caution, as this decreases the security of the TN.\n * @param provider - The provider URL.\n * @returns A promise that resolves to the chain ID.\n */\n public static async getDefaultChainId(provider: string) {\n const kwilClient = new Client({\n kwilProvider: provider,\n });\n const chainInfo = await kwilClient[\"chainInfoClient\"]();\n return chainInfo.data?.chain_id;\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,qBAAsD;AAQtD,4BAA+B;AAC/B,0BAA6B;AAC7B,0BAA6B;AAC7B,6BAAgC;AAChC,oBAAuB;AAGvB,6BAAgC;AAEhC,yBAA4B;AAC5B,iCAAoC;AA+B7B,IAAe,eAAf,MAAuD;AAAA,EAClD;AAAA,EACA;AAAA,EACA;AAAA,EAEA,YAAY,SAA0B;AAC9C,SAAK,aAAa,QAAQ;AAC1B,SAAK,uBAAuB,QAAQ;AAAA,EACtC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQA,MAAM,UAAU,QAAgB,UAAU,MAA+B;AACvE,WAAO,IAAI,QAAuB,OAAO,SAAS,WAAW;AAC3D,YAAM,WAAW,YAAY,YAAY;AACvC,cAAM,UAAU,MAAM,KAAK,cAAc,EACtC,cAAc,EAAE,MAAM,EACtB,MAAM,OAAO,EAAE,MAAM,QAAW,QAAQ,OAAU,EAAE;AACvD,gBAAQ,QAAQ,QAAQ;AAAA,UACtB,KAAK;AACH,gBAAI,QAAQ,MAAM,WAAW,QAAQ,UAAa,QAAQ,MAAM,WAAW,IAAI,SAAS,OAAO,GAAG;AAChG;AAAA,gBACI,IAAI;AAAA,kBACA,8BAA8B,QAAQ,MAAM,kBAAkB,QAAQ,M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
|
|
32
32
|
$limit: input.limit,
|
|
33
33
|
$offset: input.offset,
|
|
34
|
-
$order_by: input.orderBy
|
|
34
|
+
$order_by: input.orderBy,
|
|
35
|
+
$block_height: input.blockHeight
|
|
35
36
|
},
|
|
36
37
|
name: "list_streams",
|
|
37
38
|
namespace: "main"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/client/listStreams.ts"],
|
|
4
|
-
"sourcesContent": ["import {StreamLocator} from \"../types/stream\";\nimport {EthereumAddress} from \"../util/EthereumAddress\";\nimport {StreamId} from \"../util/StreamId\";\nimport {Database} from \"@kwilteam/kwil-js/dist/core/database\";\nimport {ListStreamsInput} from \"./client\";\nimport {KwilSigner, NodeKwil, WebKwil} from \"@kwilteam/kwil-js\";\n\n/**\n * List all streams from the TN network.\n * @param kwilClient - The Kwil client.\n * @param kwilSigner - The Kwil signer.\n * @param input - The input parameters for listing streams.\n * @returns A list of stream locators.\n */\nexport async function listStreams(\n kwilClient: WebKwil | NodeKwil,\n kwilSigner: KwilSigner,\n input: ListStreamsInput\n): Promise<StreamLocator[]> {\n const result = await kwilClient.call({\n inputs: {\n $data_provider: input.dataProvider,\n $limit: input.limit,\n $offset: input.offset,\n $order_by: input.orderBy,\n },\n name: \"list_streams\",\n namespace: \"main\",\n }, kwilSigner);\n\n return await Promise.all(\n (result.data?.result as {\n data_provider: string;\n stream_id: string;\n stream_type: string;\n created_at: number;\n }[]).map(async (database) => ({\n streamId: await StreamId.generate(database.stream_id),\n dataProvider: new EthereumAddress(database.data_provider),\n }))\n );\n}"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,6BAA8B;AAC9B,sBAAuB;AAYvB,eAAsB,YACpB,YACA,YACA,OAC0B;AACxB,QAAM,SAAS,MAAM,WAAW,KAAK;AAAA,IACjC,QAAQ;AAAA,MACJ,gBAAgB,MAAM;AAAA,MACtB,QAAQ,MAAM;AAAA,MACd,SAAS,MAAM;AAAA,MACf,WAAW,MAAM;AAAA,
|
|
4
|
+
"sourcesContent": ["import {StreamLocator} from \"../types/stream\";\nimport {EthereumAddress} from \"../util/EthereumAddress\";\nimport {StreamId} from \"../util/StreamId\";\nimport {Database} from \"@kwilteam/kwil-js/dist/core/database\";\nimport {ListStreamsInput} from \"./client\";\nimport {KwilSigner, NodeKwil, WebKwil} from \"@kwilteam/kwil-js\";\n\n/**\n * List all streams from the TN network.\n * @param kwilClient - The Kwil client.\n * @param kwilSigner - The Kwil signer.\n * @param input - The input parameters for listing streams.\n * @returns A list of stream locators.\n */\nexport async function listStreams(\n kwilClient: WebKwil | NodeKwil,\n kwilSigner: KwilSigner,\n input: ListStreamsInput\n): Promise<StreamLocator[]> {\n const result = await kwilClient.call({\n inputs: {\n $data_provider: input.dataProvider,\n $limit: input.limit,\n $offset: input.offset,\n $order_by: input.orderBy,\n $block_height: input.blockHeight,\n },\n name: \"list_streams\",\n namespace: \"main\",\n }, kwilSigner);\n\n return await Promise.all(\n (result.data?.result as {\n data_provider: string;\n stream_id: string;\n stream_type: string;\n created_at: number;\n }[]).map(async (database) => ({\n streamId: await StreamId.generate(database.stream_id),\n dataProvider: new EthereumAddress(database.data_provider),\n }))\n );\n}"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,6BAA8B;AAC9B,sBAAuB;AAYvB,eAAsB,YACpB,YACA,YACA,OAC0B;AACxB,QAAM,SAAS,MAAM,WAAW,KAAK;AAAA,IACjC,QAAQ;AAAA,MACJ,gBAAgB,MAAM;AAAA,MACtB,QAAQ,MAAM;AAAA,MACd,SAAS,MAAM;AAAA,MACf,WAAW,MAAM;AAAA,MACjB,eAAe,MAAM;AAAA,IACzB;AAAA,IACA,MAAM;AAAA,IACN,WAAW;AAAA,EACf,GAAG,UAAU;AAEb,SAAO,MAAM,QAAQ;AAAA,KAChB,OAAO,MAAM,QAKT,IAAI,OAAO,cAAc;AAAA,MAC1B,UAAU,MAAM,yBAAS,SAAS,SAAS,SAAS;AAAA,MACpD,cAAc,IAAI,uCAAgB,SAAS,aAAa;AAAA,IAC5D,EAAE;AAAA,EACN;AACJ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -381,5 +381,16 @@ var Action = class {
|
|
|
381
381
|
}))
|
|
382
382
|
).throw();
|
|
383
383
|
}
|
|
384
|
+
/**
|
|
385
|
+
* Returns the size of database
|
|
386
|
+
*/
|
|
387
|
+
async getDatabaseSize() {
|
|
388
|
+
const result = await this.call("get_database_size", {});
|
|
389
|
+
return result.map((rows) => {
|
|
390
|
+
const raw = rows[0].database_size;
|
|
391
|
+
const asBigInt = BigInt(raw.toString());
|
|
392
|
+
return asBigInt;
|
|
393
|
+
}).throw();
|
|
394
|
+
}
|
|
384
395
|
};
|
|
385
396
|
//# sourceMappingURL=action.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/contracts-api/action.ts"],
|
|
4
|
-
"sourcesContent": ["import {KwilSigner, NodeKwil, WebKwil} from \"@kwilteam/kwil-js\";\nimport { ActionBody } from '@kwilteam/kwil-js/dist/core/action';\nimport {NamedParams} from \"@kwilteam/kwil-js/dist/core/action\";\nimport { GenericResponse } from \"@kwilteam/kwil-js/dist/core/resreq\";\nimport { TxReceipt } from \"@kwilteam/kwil-js/dist/core/tx\";\nimport { Either } from \"monads-io\";\nimport { DateString } from \"../types/other\";\nimport { StreamLocator } from \"../types/stream\";\nimport { EthereumAddress } from \"../util/EthereumAddress\";\nimport { head } from \"../util/head\";\nimport { StreamId } from \"../util/StreamId\";\nimport { toVisibilityEnum, VisibilityEnum } from \"../util/visibility\";\nimport {\n MetadataKey,\n MetadataKeyValueMap,\n MetadataTableKey,\n MetadataValueTypeForKey,\n StreamType,\n} from \"./contractValues\";\nimport {ValueType} from \"@kwilteam/kwil-js/dist/utils/types\";\n\nexport interface GetRecordInput {\n stream: StreamLocator;\n from?: number;\n to?: number;\n frozenAt?: number;\n baseTime?: DateString | number;\n}\n\nexport interface GetFirstRecordInput {\n stream: StreamLocator;\n after?: number;\n frozenAt?: number;\n}\n\nexport interface StreamRecord {\n eventTime: number;\n value: string;\n}\n\nexport interface GetIndexChangeInput extends GetRecordInput {\n timeInterval: number;\n}\n\nexport class Action {\n protected kwilClient: WebKwil | NodeKwil;\n protected kwilSigner: KwilSigner;\n constructor(\n kwilClient: WebKwil | NodeKwil,\n kwilSigner: KwilSigner,\n ) {\n this.kwilClient = kwilClient;\n this.kwilSigner = kwilSigner;\n }\n\n /**\n * Executes a method on the stream\n */\n protected async executeWithNamedParams(\n method: string,\n inputs: NamedParams[],\n ): Promise<GenericResponse<TxReceipt>> {\n return this.kwilClient.execute({\n namespace: \"main\",\n name: method,\n inputs,\n description: `TN SDK - Executing method on stream: ${method}`,\n },\n this.kwilSigner,\n );\n }\n\n /**\n * Executes a method on the stream\n */\n protected async executeWithActionBody(\n inputs: ActionBody,\n synchronous: boolean = false,\n ): Promise<GenericResponse<TxReceipt>> {\n return this.kwilClient.execute(inputs, this.kwilSigner, synchronous);\n }\n\n /**\n * Calls a method on the stream\n */\n protected async call<T>(\n method: string,\n inputs: NamedParams,\n ): Promise<Either<number, T>> {\n const result = await this.kwilClient.call(\n {\n namespace: \"main\",\n name: method,\n inputs: inputs,\n },\n this.kwilSigner,\n );\n\n if (result.status !== 200) {\n return Either.left(result.status);\n }\n\n return Either.right(result.data?.result as T);\n }\n\n /**\n * Returns the records of the stream within the given date range\n */\n public async getRecord(input: GetRecordInput): Promise<StreamRecord[]> {\n const result = await this.call<{ event_time: number; value: string }[]>(\n \"get_record\",\n {\n $data_provider: input.stream.dataProvider.getAddress(),\n $stream_id: input.stream.streamId.getId(),\n $from: input.from,\n $to: input.to,\n $frozen_at: input.frozenAt,\n }\n );\n return result\n .mapRight((result) =>\n result.map((row) => ({\n eventTime: row.event_time,\n value: row.value,\n })),\n )\n .throw();\n }\n\n /**\n * Returns the index of the stream within the given date range\n */\n public async getIndex(input: GetRecordInput): Promise<StreamRecord[]> {\n const result = await this.call<{ event_time: number; value: string }[]>(\n \"get_index\",\n {\n $data_provider: input.stream.dataProvider.getAddress(),\n $stream_id: input.stream.streamId.getId(),\n $from: input.from,\n $to: input.to,\n $frozen_at: input.frozenAt,\n $base_time: input.baseTime,\n }\n );\n return result\n .mapRight((result) =>\n result.map((row) => ({\n eventTime: row.event_time,\n value: row.value,\n })),\n )\n .throw();\n }\n\n /**\n * Returns the type of the stream\n */\n public async getType(\n stream: StreamLocator,\n ): Promise<StreamType> {\n const result = await this.getMetadata(\n stream,\n MetadataKey.TypeKey);\n\n if (!result) {\n throw new Error(\"Failed to get stream type\");\n }\n\n const type = head(result).unwrapOrElse(() => {\n throw new Error(\n \"Failed to get stream type. Check if the stream is initialized.\",\n );\n });\n\n const validTypes = [StreamType.Primitive, StreamType.Composed];\n\n if (!validTypes.includes(type.value as StreamType)) {\n throw new Error(`Invalid stream type: ${type.value}`);\n }\n\n return type.value as StreamType;\n }\n\n /**\n * Returns the first record of the stream\n */\n public async getFirstRecord(\n input: GetFirstRecordInput,\n ): Promise<StreamRecord | null> {\n const result = await this.call<{ event_time: number; value: string }[]>(\n \"get_first_record\",\n {\n $data_provider: input.stream.dataProvider.getAddress(),\n $stream_id: input.stream.streamId.getId(),\n $after: input.after,\n $frozen_at: input.frozenAt,\n }\n );\n\n return result\n .mapRight(head)\n .mapRight((result) =>\n result\n .map((result) => ({\n eventTime: result.event_time,\n value: result.value,\n }))\n .unwrapOr(null),\n )\n .throw();\n }\n\n protected async setMetadata<K extends MetadataKey>(\n stream: StreamLocator,\n key: K,\n value: MetadataValueTypeForKey<K>,\n ): Promise<GenericResponse<TxReceipt>> {\n return await this.executeWithNamedParams(\"insert_metadata\", [{\n $data_provider: stream.dataProvider.getAddress(),\n $stream_id: stream.streamId.getId(),\n $key: key,\n $value: value,\n $val_type: MetadataKeyValueMap[key],\n },\n ]);\n }\n\n protected async getMetadata<K extends MetadataKey>(\n stream: StreamLocator,\n key: K,\n // onlyLatest: boolean = true,\n filteredRef?: string,\n limit?: number,\n offset?: number,\n orderBy?: string,\n ): Promise<\n { rowId: string; value: MetadataValueTypeForKey<K>; createdAt: number }[]\n > {\n const result = await this.call<\n {\n row_id: string;\n value_i: number;\n value_f: string;\n value_b: boolean;\n value_s: string;\n value_ref: string;\n created_at: number;\n }[]\n >(\"get_metadata\", {\n $data_provider: stream.dataProvider.getAddress(),\n $stream_id: stream.streamId.getId(),\n $key: key,\n $ref: filteredRef,\n $limit: limit,\n $offset: offset,\n $order_by: orderBy,\n },\n );\n return result\n .mapRight((result) =>\n result.map((row) => ({\n rowId: row.row_id,\n value: row[\n MetadataTableKey[MetadataKeyValueMap[key as MetadataKey]]\n ] as MetadataValueTypeForKey<K>,\n createdAt: row.created_at,\n })),\n )\n .throw();\n }\n\n /**\n * Sets the read visibility of the stream\n */\n public async setReadVisibility(\n stream: StreamLocator,\n visibility: VisibilityEnum,\n ): Promise<GenericResponse<TxReceipt>> {\n return await this.setMetadata(\n stream,\n MetadataKey.ReadVisibilityKey,\n visibility.toString(),\n );\n }\n\n /**\n * Returns the read visibility of the stream\n */\n public async getReadVisibility(\n stream: StreamLocator,\n ): Promise<VisibilityEnum | null> {\n const result = await this.getMetadata(\n stream,\n MetadataKey.ReadVisibilityKey);\n\n return head(result)\n .map((row) => toVisibilityEnum(row.value))\n .unwrapOr(null);\n }\n\n /**\n * Sets the compose visibility of the stream\n */\n public async setComposeVisibility(\n stream: StreamLocator,\n visibility: VisibilityEnum,\n ): Promise<GenericResponse<TxReceipt>> {\n return await this.setMetadata(\n stream,\n MetadataKey.ComposeVisibilityKey,\n visibility.toString(),\n );\n }\n\n /**\n * Returns the compose visibility of the stream\n */\n public async getComposeVisibility(\n stream: StreamLocator,\n ): Promise<VisibilityEnum | null> {\n const result = await this.getMetadata(\n stream,\n MetadataKey.ComposeVisibilityKey);\n\n return head(result)\n .map((row) => toVisibilityEnum(row.value))\n .unwrapOr(null);\n }\n\n /**\n * Allows a wallet to read the stream\n */\n public async allowReadWallet(\n stream: StreamLocator,\n wallet: EthereumAddress,\n ): Promise<GenericResponse<TxReceipt>> {\n return await this.setMetadata(\n stream,\n MetadataKey.AllowReadWalletKey,\n wallet.getAddress(),\n );\n }\n\n /**\n * Disables a wallet from reading the stream\n */\n public async disableReadWallet(\n stream: StreamLocator,\n wallet: EthereumAddress,\n ): Promise<GenericResponse<TxReceipt>> {\n const result = await this.getMetadata(\n stream,\n MetadataKey.AllowReadWalletKey,\n wallet.getAddress(),\n );\n\n const row_id = head(result)\n .map((row) => row.rowId)\n .unwrapOr(null);\n\n if (!row_id) {\n throw new Error(\"Wallet not found in allowed list\");\n }\n\n return await this.disableMetadata(stream, row_id);\n }\n\n /**\n * Allows a stream to use this stream as child\n */\n public async allowComposeStream(\n stream: StreamLocator,\n wallet: StreamLocator,\n ): Promise<GenericResponse<TxReceipt>> {\n return await this.setMetadata(\n stream,\n MetadataKey.AllowComposeStreamKey,\n wallet.streamId.getId(),\n );\n }\n\n /**\n * Disables a stream from using this stream as child\n */\n public async disableComposeStream(\n stream: StreamLocator,\n wallet: StreamLocator,\n ): Promise<GenericResponse<TxReceipt>> {\n const result = await this.getMetadata(\n stream,\n MetadataKey.AllowComposeStreamKey,\n wallet.toString(),\n );\n\n const row_id = head(result)\n .map((row) => row.rowId)\n .unwrapOr(null);\n\n if (!row_id) {\n throw new Error(\"Stream not found in allowed list\");\n }\n\n return await this.disableMetadata(stream, row_id);\n }\n\n protected async disableMetadata(\n stream: StreamLocator,\n rowId: string,\n ): Promise<GenericResponse<TxReceipt>> {\n return await this.executeWithNamedParams(\"disable_metadata\", [{\n $data_provider: stream.dataProvider.getAddress(),\n $stream_id: stream.streamId.getId(),\n $row_id: rowId,\n }]);\n }\n\n /**\n * Returns the wallets allowed to read the stream\n */\n public async getAllowedReadWallets(\n stream: StreamLocator,\n ): Promise<EthereumAddress[]> {\n const result = await this.getMetadata(\n stream,\n MetadataKey.AllowReadWalletKey);\n\n return result\n .filter((row) => row.value)\n .map((row) => new EthereumAddress(row.value));\n }\n\n /**\n * Returns the streams allowed to compose the stream\n */\n public async getAllowedComposeStreams(\n stream: StreamLocator,\n ): Promise<StreamLocator[]> {\n const result = await this.getMetadata(\n stream,\n MetadataKey.AllowComposeStreamKey);\n\n return result\n .filter((row) => row.value)\n .map((row) => {\n const [streamId, dataProvider] = row.value.split(\":\");\n return {\n streamId: StreamId.fromString(streamId).throw(),\n dataProvider: new EthereumAddress(dataProvider),\n };\n });\n }\n\n /**\n * Returns the index change of the stream within the given date range\n */\n public async getIndexChange(\n input: GetIndexChangeInput,\n ): Promise<StreamRecord[]> {\n const result = await this.call<{ event_time: number; value: string }[]>(\n \"get_index_change\", \n {\n $data_provider: input.stream.dataProvider.getAddress(),\n $stream_id: input.stream.streamId.getId(),\n $from: input.from,\n $to: input.to,\n $frozen_at: input.frozenAt,\n $base_time: input.baseTime,\n $time_interval: input.timeInterval,\n }\n );\n\n return result\n .mapRight((result) =>\n result.map((row) => ({\n eventTime: row.event_time,\n value: row.value,\n })),\n )\n .throw();\n }\n\n /**\n * A custom method that accepts the procedure name and the input of GetRecordInput\n * Returns the result of the procedure in the same format as StreamRecord\n * I.e. a custom procedure named \"get_price\" that returns a list of date_value and value\n * can be called with customGetProcedure(\"get_price\", { dateFrom: \"2021-01-01\", dateTo: \"2021-01-31\" })\n */\n public async customGetProcedure(\n procedure: string,\n input: GetRecordInput,\n ): Promise<StreamRecord[]> {\n const result = await this.call<{ event_time: number; value: string }[]>(\n procedure,\n {\n $data_provider: input.stream.dataProvider.getAddress(),\n $stream_id: input.stream.streamId.getId(),\n $from: input.from,\n $to: input.to,\n $frozen_at: input.frozenAt\n }\n );\n return result\n .mapRight((result) =>\n result.map((row) => ({\n eventTime: row.event_time,\n value: row.value,\n })),\n )\n .throw();\n }\n\n\n /**\n * A custom method that accepts the procedure name and custom input of type Record<string, any>\n * Returns the result of the procedure in the same format as StreamRecord\n * I.e. a custom procedure named \"get_custom_index\" that returns a list of date_value and value\n * can be called with customProcedureWithArgs(\"get_custom_index\", { $customArg1: \"value1\", $customArg2: \"value2\" })\n * where $customArg1 and $customArg2 are the arguments of the procedure\n * @param procedure\n * @param args\n */\n public async customProcedureWithArgs(\n procedure: string,\n args: Record<string, ValueType | ValueType[]>,\n ){\n const result = await this.call<{ event_time: number; value: string }[]>(\n procedure,\n args\n );\n return result\n .mapRight((result) =>\n result.map((row) => ({\n eventTime: row.event_time,\n value: row.value,\n })),\n )\n .throw();\n }\n}\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAKA,uBAAuB;AAGvB,6BAAgC;AAChC,kBAAqB;AACrB,sBAAyB;AACzB,wBAAiD;AACjD,4BAMO;AA0BA,IAAM,SAAN,MAAa;AAAA,EACR;AAAA,EACA;AAAA,EACV,YACE,YACA,YACA;AACA,SAAK,aAAa;AAClB,SAAK,aAAa;AAAA,EACpB;AAAA;AAAA;AAAA;AAAA,EAKA,MAAgB,uBACd,QACA,QACqC;AACrC,WAAO,KAAK,WAAW;AAAA,MAAQ;AAAA,QACzB,WAAW;AAAA,QACX,MAAM;AAAA,QACN;AAAA,QACA,aAAa,wCAAwC,MAAM;AAAA,MAC7D;AAAA,MACA,KAAK;AAAA,IACL;AAAA,EACN;AAAA;AAAA;AAAA;AAAA,EAKE,MAAgB,sBACZ,QACA,cAAuB,OACY;AACnC,WAAO,KAAK,WAAW,QAAQ,QAAQ,KAAK,YAAY,WAAW;AAAA,EACvE;AAAA;AAAA;AAAA;AAAA,EAKF,MAAgB,KACd,QACA,QAC4B;AAC5B,UAAM,SAAS,MAAM,KAAK,WAAW;AAAA,MACnC;AAAA,QACE,WAAW;AAAA,QACX,MAAM;AAAA,QACN;AAAA,MACF;AAAA,MACA,KAAK;AAAA,IACP;AAEA,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xC,OAAO,MAAM;AAAA,QACb,KAAK,MAAM;AAAA,QACX,YAAY,MAAM;AAAA,MACpB;AAAA,IACJ;AACA,WAAO,OACJ;AAAA,MAAS,CAACA,YACTA,QAAO,IAAI,CAAC,SAAS;AAAA,QACnB,WAAW,IAAI;AAAA,QACf,OAAO,IAAI;AAAA,MACb,EAAE;AAAA,IACJ,EACC,MAAM;AAAA,EACX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAYA,MAAa,wBACX,WACA,MACD;AACG,UAAM,SAAS,MAAM,KAAK;AAAA,MACtB;AAAA,MACA;AAAA,IACN;AACA,WAAO,OACJ;AAAA,MAAS,CAACA,YACTA,QAAO,IAAI,CAAC,SAAS;AAAA,QACnB,WAAW,IAAI;AAAA,QACf,OAAO,IAAI;AAAA,MACb,EAAE;AAAA,IACJ,EACC,MAAM;AAAA,EACX;AACF;",
|
|
4
|
+
"sourcesContent": ["import {KwilSigner, NodeKwil, WebKwil} from \"@kwilteam/kwil-js\";\nimport { ActionBody } from '@kwilteam/kwil-js/dist/core/action';\nimport {NamedParams} from \"@kwilteam/kwil-js/dist/core/action\";\nimport { GenericResponse } from \"@kwilteam/kwil-js/dist/core/resreq\";\nimport { TxReceipt } from \"@kwilteam/kwil-js/dist/core/tx\";\nimport { Either } from \"monads-io\";\nimport { DateString } from \"../types/other\";\nimport { StreamLocator } from \"../types/stream\";\nimport { EthereumAddress } from \"../util/EthereumAddress\";\nimport { head } from \"../util/head\";\nimport { StreamId } from \"../util/StreamId\";\nimport { toVisibilityEnum, VisibilityEnum } from \"../util/visibility\";\nimport {\n MetadataKey,\n MetadataKeyValueMap,\n MetadataTableKey,\n MetadataValueTypeForKey,\n StreamType,\n} from \"./contractValues\";\nimport {ValueType} from \"@kwilteam/kwil-js/dist/utils/types\";\n\nexport interface GetRecordInput {\n stream: StreamLocator;\n from?: number;\n to?: number;\n frozenAt?: number;\n baseTime?: DateString | number;\n}\n\nexport interface GetFirstRecordInput {\n stream: StreamLocator;\n after?: number;\n frozenAt?: number;\n}\n\nexport interface StreamRecord {\n eventTime: number;\n value: string;\n}\n\nexport interface GetIndexChangeInput extends GetRecordInput {\n timeInterval: number;\n}\n\nexport class Action {\n protected kwilClient: WebKwil | NodeKwil;\n protected kwilSigner: KwilSigner;\n constructor(\n kwilClient: WebKwil | NodeKwil,\n kwilSigner: KwilSigner,\n ) {\n this.kwilClient = kwilClient;\n this.kwilSigner = kwilSigner;\n }\n\n /**\n * Executes a method on the stream\n */\n protected async executeWithNamedParams(\n method: string,\n inputs: NamedParams[],\n ): Promise<GenericResponse<TxReceipt>> {\n return this.kwilClient.execute({\n namespace: \"main\",\n name: method,\n inputs,\n description: `TN SDK - Executing method on stream: ${method}`,\n },\n this.kwilSigner,\n );\n }\n\n /**\n * Executes a method on the stream\n */\n protected async executeWithActionBody(\n inputs: ActionBody,\n synchronous: boolean = false,\n ): Promise<GenericResponse<TxReceipt>> {\n return this.kwilClient.execute(inputs, this.kwilSigner, synchronous);\n }\n\n /**\n * Calls a method on the stream\n */\n protected async call<T>(\n method: string,\n inputs: NamedParams,\n ): Promise<Either<number, T>> {\n const result = await this.kwilClient.call(\n {\n namespace: \"main\",\n name: method,\n inputs: inputs,\n },\n this.kwilSigner,\n );\n\n if (result.status !== 200) {\n return Either.left(result.status);\n }\n\n return Either.right(result.data?.result as T);\n }\n\n /**\n * Returns the records of the stream within the given date range\n */\n public async getRecord(input: GetRecordInput): Promise<StreamRecord[]> {\n const result = await this.call<{ event_time: number; value: string }[]>(\n \"get_record\",\n {\n $data_provider: input.stream.dataProvider.getAddress(),\n $stream_id: input.stream.streamId.getId(),\n $from: input.from,\n $to: input.to,\n $frozen_at: input.frozenAt,\n }\n );\n return result\n .mapRight((result) =>\n result.map((row) => ({\n eventTime: row.event_time,\n value: row.value,\n })),\n )\n .throw();\n }\n\n /**\n * Returns the index of the stream within the given date range\n */\n public async getIndex(input: GetRecordInput): Promise<StreamRecord[]> {\n const result = await this.call<{ event_time: number; value: string }[]>(\n \"get_index\",\n {\n $data_provider: input.stream.dataProvider.getAddress(),\n $stream_id: input.stream.streamId.getId(),\n $from: input.from,\n $to: input.to,\n $frozen_at: input.frozenAt,\n $base_time: input.baseTime,\n }\n );\n return result\n .mapRight((result) =>\n result.map((row) => ({\n eventTime: row.event_time,\n value: row.value,\n })),\n )\n .throw();\n }\n\n /**\n * Returns the type of the stream\n */\n public async getType(\n stream: StreamLocator,\n ): Promise<StreamType> {\n const result = await this.getMetadata(\n stream,\n MetadataKey.TypeKey);\n\n if (!result) {\n throw new Error(\"Failed to get stream type\");\n }\n\n const type = head(result).unwrapOrElse(() => {\n throw new Error(\n \"Failed to get stream type. Check if the stream is initialized.\",\n );\n });\n\n const validTypes = [StreamType.Primitive, StreamType.Composed];\n\n if (!validTypes.includes(type.value as StreamType)) {\n throw new Error(`Invalid stream type: ${type.value}`);\n }\n\n return type.value as StreamType;\n }\n\n /**\n * Returns the first record of the stream\n */\n public async getFirstRecord(\n input: GetFirstRecordInput,\n ): Promise<StreamRecord | null> {\n const result = await this.call<{ event_time: number; value: string }[]>(\n \"get_first_record\",\n {\n $data_provider: input.stream.dataProvider.getAddress(),\n $stream_id: input.stream.streamId.getId(),\n $after: input.after,\n $frozen_at: input.frozenAt,\n }\n );\n\n return result\n .mapRight(head)\n .mapRight((result) =>\n result\n .map((result) => ({\n eventTime: result.event_time,\n value: result.value,\n }))\n .unwrapOr(null),\n )\n .throw();\n }\n\n protected async setMetadata<K extends MetadataKey>(\n stream: StreamLocator,\n key: K,\n value: MetadataValueTypeForKey<K>,\n ): Promise<GenericResponse<TxReceipt>> {\n return await this.executeWithNamedParams(\"insert_metadata\", [{\n $data_provider: stream.dataProvider.getAddress(),\n $stream_id: stream.streamId.getId(),\n $key: key,\n $value: value,\n $val_type: MetadataKeyValueMap[key],\n },\n ]);\n }\n\n protected async getMetadata<K extends MetadataKey>(\n stream: StreamLocator,\n key: K,\n // onlyLatest: boolean = true,\n filteredRef?: string,\n limit?: number,\n offset?: number,\n orderBy?: string,\n ): Promise<\n { rowId: string; value: MetadataValueTypeForKey<K>; createdAt: number }[]\n > {\n const result = await this.call<\n {\n row_id: string;\n value_i: number;\n value_f: string;\n value_b: boolean;\n value_s: string;\n value_ref: string;\n created_at: number;\n }[]\n >(\"get_metadata\", {\n $data_provider: stream.dataProvider.getAddress(),\n $stream_id: stream.streamId.getId(),\n $key: key,\n $ref: filteredRef,\n $limit: limit,\n $offset: offset,\n $order_by: orderBy,\n },\n );\n return result\n .mapRight((result) =>\n result.map((row) => ({\n rowId: row.row_id,\n value: row[\n MetadataTableKey[MetadataKeyValueMap[key as MetadataKey]]\n ] as MetadataValueTypeForKey<K>,\n createdAt: row.created_at,\n })),\n )\n .throw();\n }\n\n /**\n * Sets the read visibility of the stream\n */\n public async setReadVisibility(\n stream: StreamLocator,\n visibility: VisibilityEnum,\n ): Promise<GenericResponse<TxReceipt>> {\n return await this.setMetadata(\n stream,\n MetadataKey.ReadVisibilityKey,\n visibility.toString(),\n );\n }\n\n /**\n * Returns the read visibility of the stream\n */\n public async getReadVisibility(\n stream: StreamLocator,\n ): Promise<VisibilityEnum | null> {\n const result = await this.getMetadata(\n stream,\n MetadataKey.ReadVisibilityKey);\n\n return head(result)\n .map((row) => toVisibilityEnum(row.value))\n .unwrapOr(null);\n }\n\n /**\n * Sets the compose visibility of the stream\n */\n public async setComposeVisibility(\n stream: StreamLocator,\n visibility: VisibilityEnum,\n ): Promise<GenericResponse<TxReceipt>> {\n return await this.setMetadata(\n stream,\n MetadataKey.ComposeVisibilityKey,\n visibility.toString(),\n );\n }\n\n /**\n * Returns the compose visibility of the stream\n */\n public async getComposeVisibility(\n stream: StreamLocator,\n ): Promise<VisibilityEnum | null> {\n const result = await this.getMetadata(\n stream,\n MetadataKey.ComposeVisibilityKey);\n\n return head(result)\n .map((row) => toVisibilityEnum(row.value))\n .unwrapOr(null);\n }\n\n /**\n * Allows a wallet to read the stream\n */\n public async allowReadWallet(\n stream: StreamLocator,\n wallet: EthereumAddress,\n ): Promise<GenericResponse<TxReceipt>> {\n return await this.setMetadata(\n stream,\n MetadataKey.AllowReadWalletKey,\n wallet.getAddress(),\n );\n }\n\n /**\n * Disables a wallet from reading the stream\n */\n public async disableReadWallet(\n stream: StreamLocator,\n wallet: EthereumAddress,\n ): Promise<GenericResponse<TxReceipt>> {\n const result = await this.getMetadata(\n stream,\n MetadataKey.AllowReadWalletKey,\n wallet.getAddress(),\n );\n\n const row_id = head(result)\n .map((row) => row.rowId)\n .unwrapOr(null);\n\n if (!row_id) {\n throw new Error(\"Wallet not found in allowed list\");\n }\n\n return await this.disableMetadata(stream, row_id);\n }\n\n /**\n * Allows a stream to use this stream as child\n */\n public async allowComposeStream(\n stream: StreamLocator,\n wallet: StreamLocator,\n ): Promise<GenericResponse<TxReceipt>> {\n return await this.setMetadata(\n stream,\n MetadataKey.AllowComposeStreamKey,\n wallet.streamId.getId(),\n );\n }\n\n /**\n * Disables a stream from using this stream as child\n */\n public async disableComposeStream(\n stream: StreamLocator,\n wallet: StreamLocator,\n ): Promise<GenericResponse<TxReceipt>> {\n const result = await this.getMetadata(\n stream,\n MetadataKey.AllowComposeStreamKey,\n wallet.toString(),\n );\n\n const row_id = head(result)\n .map((row) => row.rowId)\n .unwrapOr(null);\n\n if (!row_id) {\n throw new Error(\"Stream not found in allowed list\");\n }\n\n return await this.disableMetadata(stream, row_id);\n }\n\n protected async disableMetadata(\n stream: StreamLocator,\n rowId: string,\n ): Promise<GenericResponse<TxReceipt>> {\n return await this.executeWithNamedParams(\"disable_metadata\", [{\n $data_provider: stream.dataProvider.getAddress(),\n $stream_id: stream.streamId.getId(),\n $row_id: rowId,\n }]);\n }\n\n /**\n * Returns the wallets allowed to read the stream\n */\n public async getAllowedReadWallets(\n stream: StreamLocator,\n ): Promise<EthereumAddress[]> {\n const result = await this.getMetadata(\n stream,\n MetadataKey.AllowReadWalletKey);\n\n return result\n .filter((row) => row.value)\n .map((row) => new EthereumAddress(row.value));\n }\n\n /**\n * Returns the streams allowed to compose the stream\n */\n public async getAllowedComposeStreams(\n stream: StreamLocator,\n ): Promise<StreamLocator[]> {\n const result = await this.getMetadata(\n stream,\n MetadataKey.AllowComposeStreamKey);\n\n return result\n .filter((row) => row.value)\n .map((row) => {\n const [streamId, dataProvider] = row.value.split(\":\");\n return {\n streamId: StreamId.fromString(streamId).throw(),\n dataProvider: new EthereumAddress(dataProvider),\n };\n });\n }\n\n /**\n * Returns the index change of the stream within the given date range\n */\n public async getIndexChange(\n input: GetIndexChangeInput,\n ): Promise<StreamRecord[]> {\n const result = await this.call<{ event_time: number; value: string }[]>(\n \"get_index_change\", \n {\n $data_provider: input.stream.dataProvider.getAddress(),\n $stream_id: input.stream.streamId.getId(),\n $from: input.from,\n $to: input.to,\n $frozen_at: input.frozenAt,\n $base_time: input.baseTime,\n $time_interval: input.timeInterval,\n }\n );\n\n return result\n .mapRight((result) =>\n result.map((row) => ({\n eventTime: row.event_time,\n value: row.value,\n })),\n )\n .throw();\n }\n\n /**\n * A custom method that accepts the procedure name and the input of GetRecordInput\n * Returns the result of the procedure in the same format as StreamRecord\n * I.e. a custom procedure named \"get_price\" that returns a list of date_value and value\n * can be called with customGetProcedure(\"get_price\", { dateFrom: \"2021-01-01\", dateTo: \"2021-01-31\" })\n */\n public async customGetProcedure(\n procedure: string,\n input: GetRecordInput,\n ): Promise<StreamRecord[]> {\n const result = await this.call<{ event_time: number; value: string }[]>(\n procedure,\n {\n $data_provider: input.stream.dataProvider.getAddress(),\n $stream_id: input.stream.streamId.getId(),\n $from: input.from,\n $to: input.to,\n $frozen_at: input.frozenAt\n }\n );\n return result\n .mapRight((result) =>\n result.map((row) => ({\n eventTime: row.event_time,\n value: row.value,\n })),\n )\n .throw();\n }\n\n\n /**\n * A custom method that accepts the procedure name and custom input of type Record<string, any>\n * Returns the result of the procedure in the same format as StreamRecord\n * I.e. a custom procedure named \"get_custom_index\" that returns a list of date_value and value\n * can be called with customProcedureWithArgs(\"get_custom_index\", { $customArg1: \"value1\", $customArg2: \"value2\" })\n * where $customArg1 and $customArg2 are the arguments of the procedure\n * @param procedure\n * @param args\n */\n public async customProcedureWithArgs(\n procedure: string,\n args: Record<string, ValueType | ValueType[]>,\n ){\n const result = await this.call<{ event_time: number; value: string }[]>(\n procedure,\n args\n );\n return result\n .mapRight((result) =>\n result.map((row) => ({\n eventTime: row.event_time,\n value: row.value,\n })),\n )\n .throw();\n }\n\n /**\n * Returns the size of database\n */\n public async getDatabaseSize(): Promise<BigInt> {\n const result = await this.call<{ database_size: BigInt }[]>(\"get_database_size\", {})\n return result\n .map((rows) => {\n const raw = rows[0].database_size;\n const asBigInt = BigInt(raw.toString());\n return asBigInt;\n }).throw();\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAKA,uBAAuB;AAGvB,6BAAgC;AAChC,kBAAqB;AACrB,sBAAyB;AACzB,wBAAiD;AACjD,4BAMO;AA0BA,IAAM,SAAN,MAAa;AAAA,EACR;AAAA,EACA;AAAA,EACV,YACE,YACA,YACA;AACA,SAAK,aAAa;AAClB,SAAK,aAAa;AAAA,EACpB;AAAA;AAAA;AAAA;AAAA,EAKA,MAAgB,uBACd,QACA,QACqC;AACrC,WAAO,KAAK,WAAW;AAAA,MAAQ;AAAA,QACzB,WAAW;AAAA,QACX,MAAM;AAAA,QACN;AAAA,QACA,aAAa,wCAAwC,MAAM;AAAA,MAC7D;AAAA,MACA,KAAK;AAAA,IACL;AAAA,EACN;AAAA;AAAA;AAAA;AAAA,EAKE,MAAgB,sBACZ,QACA,cAAuB,OACY;AACnC,WAAO,KAAK,WAAW,QAAQ,QAAQ,KAAK,YAAY,WAAW;AAAA,EACvE;AAAA;AAAA;AAAA;AAAA,EAKF,MAAgB,KACd,QACA,QAC4B;AAC5B,UAAM,SAAS,MAAM,KAAK,WAAW;AAAA,MACnC;AAAA,QACE,WAAW;AAAA,QACX,MAAM;AAA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;AAAA,QACrD,YAAY,MAAM,OAAO,SAAS,MAAM;AAAA,QACxC,OAAO,MAAM;AAAA,QACb,KAAK,MAAM;AAAA,QACX,YAAY,MAAM;AAAA,MACpB;AAAA,IACJ;AACA,WAAO,OACJ;AAAA,MAAS,CAACA,YACTA,QAAO,IAAI,CAAC,SAAS;AAAA,QACnB,WAAW,IAAI;AAAA,QACf,OAAO,IAAI;AAAA,MACb,EAAE;AAAA,IACJ,EACC,MAAM;AAAA,EACX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAYA,MAAa,wBACX,WACA,MACD;AACG,UAAM,SAAS,MAAM,KAAK;AAAA,MACtB;AAAA,MACA;AAAA,IACN;AACA,WAAO,OACJ;AAAA,MAAS,CAACA,YACTA,QAAO,IAAI,CAAC,SAAS;AAAA,QACnB,WAAW,IAAI;AAAA,QACf,OAAO,IAAI;AAAA,MACb,EAAE;AAAA,IACJ,EACC,MAAM;AAAA,EACX;AAAA;AAAA;AAAA;AAAA,EAKA,MAAa,kBAAmC;AAC9C,UAAM,SAAS,MAAM,KAAK,KAAkC,qBAAqB,CAAC,CAAC;AACnF,WAAO,OACJ,IAAI,CAAC,SAAS;AACb,YAAM,MAAM,KAAK,CAAC,EAAE;AACpB,YAAM,WAAW,OAAO,IAAI,SAAS,CAAC;AACtC,aAAO;AAAA,IACT,CAAC,EAAE,MAAM;AAAA,EACb;AACF;",
|
|
6
6
|
"names": ["result"]
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/client/client.ts"],
|
|
4
|
-
"sourcesContent": ["import { Client, KwilSigner, NodeKwil, WebKwil } from \"@kwilteam/kwil-js\";\nimport { KwilConfig } from \"@kwilteam/kwil-js/dist/api_client/config\";\nimport { Kwil } from \"@kwilteam/kwil-js/dist/client/kwil\";\nimport { EthSigner } from \"@kwilteam/kwil-js/dist/core/signature\";\nimport { EnvironmentType } from \"@kwilteam/kwil-js/dist/core/enums\";\nimport { GenericResponse } from \"@kwilteam/kwil-js/dist/core/resreq\";\nimport { TxReceipt } from \"@kwilteam/kwil-js/dist/core/tx\";\nimport { TxInfoReceipt } from \"@kwilteam/kwil-js/dist/core/txQuery\";\nimport { ComposedAction } from \"../contracts-api/composedAction\";\nimport { deployStream } from \"../contracts-api/deployStream\";\nimport { deleteStream } from \"../contracts-api/deleteStream\";\nimport { PrimitiveAction } from \"../contracts-api/primitiveAction\";\nimport { Action } from \"../contracts-api/action\";\nimport { StreamType } from \"../contracts-api/contractValues\";\nimport { StreamLocator } from \"../types/stream\";\nimport { EthereumAddress } from \"../util/EthereumAddress\";\nimport { StreamId } from \"../util/StreamId\";\nimport { listStreams } from \"./listStreams\";\nimport { getLastTransactions } from \"./getLastTransactions\";\n\nexport interface SignerInfo {\n // we need to have the address upfront to create the KwilSigner, instead of relying on the signer to return it asynchronously\n address: string;\n signer: EthSigner;\n}\n\nexport type TNClientOptions = {\n endpoint: string;\n signerInfo: SignerInfo;\n neonConnectionString?: string;\n} & Omit<KwilConfig, \"kwilProvider\">;\n\nexport interface ListStreamsInput {\n dataProvider?: string;\n limit?: number;\n offset?: number;\n orderBy?: string;\n}\n\n/**\n * @param dataProvider optional address; when omitted or null, returns for all providers\n * @param limitSize max rows to return (default 6, max 100)\n */\nexport interface GetLastTransactionsInput {\n dataProvider?: string;\n limitSize?: number;\n}\n\nexport abstract class BaseTNClient<T extends EnvironmentType> {\n protected kwilClient: Kwil<T> | undefined;\n protected signerInfo: SignerInfo;\n protected neonConnectionString: string | undefined;\n\n protected constructor(options: TNClientOptions) {\n this.signerInfo = options.signerInfo;\n this.neonConnectionString = options.neonConnectionString;\n }\n\n /**\n * Waits for a transaction to be mined by TN.\n * @param txHash - The transaction hash to wait for.\n * @param timeout - The timeout in milliseconds.\n * @returns A promise that resolves to the transaction info receipt.\n */\n async waitForTx(txHash: string, timeout = 12000): Promise<TxInfoReceipt> {\n return new Promise<TxInfoReceipt>(async (resolve, reject) => {\n const interval = setInterval(async () => {\n const receipt = await this.getKwilClient()\n [\"txInfoClient\"](txHash)\n .catch(() => ({ data: undefined, status: undefined }));\n switch (receipt.status) {\n case 200:\n if (receipt.data?.tx_result?.log !== undefined && receipt.data?.tx_result?.log.includes(\"ERROR\")) {\n reject(\n new Error(\n `Transaction failed: status ${receipt.status} : log message ${receipt.data?.tx_result.log}`,\n ))\n } else {\n resolve(receipt.data!);\n }\n break;\n case undefined:\n break;\n default:\n reject(\n new Error(\n `Transaction failed: status ${receipt.status} : log message ${receipt.data?.tx_result.log}`,\n ),\n );\n }\n }, 1000);\n setTimeout(() => {\n clearInterval(interval);\n reject(new Error(\"Transaction failed: Timeout\"));\n }, timeout);\n });\n }\n\n /**\n * Returns the Kwil signer used by the client.\n * @returns An instance of KwilSigner.\n */\n getKwilSigner(): KwilSigner {\n return new KwilSigner(\n this.signerInfo.signer,\n this.address().getAddress(),\n );\n }\n\n /**\n * Returns the Kwil client used by the client.\n * @returns An instance of Kwil.\n * @throws If the Kwil client is not initialized.\n */\n getKwilClient(): Kwil<EnvironmentType> {\n if (!this.kwilClient) {\n throw new Error(\"Kwil client not initialized\");\n }\n return this.kwilClient;\n }\n\n /**\n * Returns the Neon connection string used by the client.\n */\n getNeonConnectionString(): string | undefined {\n return this.neonConnectionString;\n }\n\n /**\n * Deploys a new stream.\n * @param streamId - The ID of the stream to deploy.\n * @param streamType - The type of the stream.\n * @param synchronous - Whether the deployment should be synchronous.\n * @param contractVersion\n * @returns A promise that resolves to a generic response containing the transaction receipt.\n */\n async deployStream(\n streamId: StreamId,\n streamType: StreamType,\n synchronous?: boolean,\n ): Promise<GenericResponse<TxReceipt>> {\n return await deployStream({\n streamId,\n streamType,\n synchronous,\n kwilClient: this.getKwilClient(),\n kwilSigner: this.getKwilSigner(),\n neonConnectionString: this.getNeonConnectionString(),\n });\n }\n\n /**\n * Destroys a stream.\n * @param stream - The StreamLocator of the stream to destroy.\n * @param synchronous - Whether the destruction should be synchronous.\n * @returns A promise that resolves to a generic response containing the transaction receipt.\n */\n async destroyStream(\n stream: StreamLocator,\n synchronous?: boolean,\n ): Promise<GenericResponse<TxReceipt>> {\n return await deleteStream({\n stream,\n synchronous,\n kwilClient: this.getKwilClient(),\n kwilSigner: this.getKwilSigner(),\n });\n }\n\n /**\n * Loads an already deployed stream, permitting its API usage.\n * @returns An instance of IStream.\n */\n loadAction(): Action {\n return new Action(\n this.getKwilClient() as WebKwil | NodeKwil,\n this.getKwilSigner(),\n );\n }\n\n /**\n * Loads a primitive stream.\n * @returns An instance of IPrimitiveStream.\n */\n loadPrimitiveAction(): PrimitiveAction {\n return PrimitiveAction.fromStream(this.loadAction());\n }\n\n /**\n * Loads a composed stream.\n * @returns An instance of IComposedStream.\n */\n loadComposedAction(): ComposedAction {\n return ComposedAction.fromStream(this.loadAction(), this.getNeonConnectionString());\n }\n\n /**\n * Creates a new stream locator.\n * @param streamId - The ID of the stream.\n * @returns A StreamLocator object.\n */\n ownStreamLocator(streamId: StreamId): StreamLocator {\n return {\n streamId,\n dataProvider: this.address(),\n };\n }\n\n /**\n * Returns the address of the signer used by the client.\n * @returns An instance of EthereumAddress.\n */\n address(): EthereumAddress {\n return new EthereumAddress(this.signerInfo.address);\n }\n\n /**\n * Returns all streams from the TN network.\n * @param input - The input parameters for listing streams.\n * @returns A promise that resolves to a list of stream locators.\n */\n async getListStreams(input: ListStreamsInput): Promise<StreamLocator[]> {\n return listStreams(this.getKwilClient() as WebKwil | NodeKwil,this.getKwilSigner(),input);\n }\n\n /**\n * Returns the last write activity across streams.\n * @param input - The input parameters for getting last transactions.\n * @returns A promise that resolves to a list of last transactions.\n */\n async getLastTransactions(input: GetLastTransactionsInput): Promise<any[]> {\n return getLastTransactions(this.getKwilClient() as WebKwil | NodeKwil,this.getKwilSigner(),input);\n }\n\n /**\n * Get the default chain id for a provider. Use with caution, as this decreases the security of the TN.\n * @param provider - The provider URL.\n * @returns A promise that resolves to the chain ID.\n */\n public static async getDefaultChainId(provider: string) {\n const kwilClient = new Client({\n kwilProvider: provider,\n });\n const chainInfo = await kwilClient[\"chainInfoClient\"]();\n return chainInfo.data?.chain_id;\n }\n}\n"],
|
|
5
|
-
"mappings": ";;;;;AAAA,SAAS,QAAQ,kBAAqC;AAQtD,SAAS,sBAAsB;AAC/B,SAAS,oBAAoB;AAC7B,SAAS,oBAAoB;AAC7B,SAAS,uBAAuB;AAChC,SAAS,cAAc;AAGvB,SAAS,uBAAuB;AAEhC,SAAS,mBAAmB;AAC5B,SAAS,2BAA2B;
|
|
4
|
+
"sourcesContent": ["import { Client, KwilSigner, NodeKwil, WebKwil } from \"@kwilteam/kwil-js\";\nimport { KwilConfig } from \"@kwilteam/kwil-js/dist/api_client/config\";\nimport { Kwil } from \"@kwilteam/kwil-js/dist/client/kwil\";\nimport { EthSigner } from \"@kwilteam/kwil-js/dist/core/signature\";\nimport { EnvironmentType } from \"@kwilteam/kwil-js/dist/core/enums\";\nimport { GenericResponse } from \"@kwilteam/kwil-js/dist/core/resreq\";\nimport { TxReceipt } from \"@kwilteam/kwil-js/dist/core/tx\";\nimport { TxInfoReceipt } from \"@kwilteam/kwil-js/dist/core/txQuery\";\nimport { ComposedAction } from \"../contracts-api/composedAction\";\nimport { deployStream } from \"../contracts-api/deployStream\";\nimport { deleteStream } from \"../contracts-api/deleteStream\";\nimport { PrimitiveAction } from \"../contracts-api/primitiveAction\";\nimport { Action } from \"../contracts-api/action\";\nimport { StreamType } from \"../contracts-api/contractValues\";\nimport { StreamLocator } from \"../types/stream\";\nimport { EthereumAddress } from \"../util/EthereumAddress\";\nimport { StreamId } from \"../util/StreamId\";\nimport { listStreams } from \"./listStreams\";\nimport { getLastTransactions } from \"./getLastTransactions\";\n\nexport interface SignerInfo {\n // we need to have the address upfront to create the KwilSigner, instead of relying on the signer to return it asynchronously\n address: string;\n signer: EthSigner;\n}\n\nexport type TNClientOptions = {\n endpoint: string;\n signerInfo: SignerInfo;\n neonConnectionString?: string;\n} & Omit<KwilConfig, \"kwilProvider\">;\n\nexport interface ListStreamsInput {\n dataProvider?: string;\n limit?: number;\n offset?: number;\n orderBy?: string;\n blockHeight?: number;\n}\n\n/**\n * @param dataProvider optional address; when omitted or null, returns for all providers\n * @param limitSize max rows to return (default 6, max 100)\n */\nexport interface GetLastTransactionsInput {\n dataProvider?: string;\n limitSize?: number;\n}\n\nexport abstract class BaseTNClient<T extends EnvironmentType> {\n protected kwilClient: Kwil<T> | undefined;\n protected signerInfo: SignerInfo;\n protected neonConnectionString: string | undefined;\n\n protected constructor(options: TNClientOptions) {\n this.signerInfo = options.signerInfo;\n this.neonConnectionString = options.neonConnectionString;\n }\n\n /**\n * Waits for a transaction to be mined by TN.\n * @param txHash - The transaction hash to wait for.\n * @param timeout - The timeout in milliseconds.\n * @returns A promise that resolves to the transaction info receipt.\n */\n async waitForTx(txHash: string, timeout = 12000): Promise<TxInfoReceipt> {\n return new Promise<TxInfoReceipt>(async (resolve, reject) => {\n const interval = setInterval(async () => {\n const receipt = await this.getKwilClient()\n [\"txInfoClient\"](txHash)\n .catch(() => ({ data: undefined, status: undefined }));\n switch (receipt.status) {\n case 200:\n if (receipt.data?.tx_result?.log !== undefined && receipt.data?.tx_result?.log.includes(\"ERROR\")) {\n reject(\n new Error(\n `Transaction failed: status ${receipt.status} : log message ${receipt.data?.tx_result.log}`,\n ))\n } else {\n resolve(receipt.data!);\n }\n break;\n case undefined:\n break;\n default:\n reject(\n new Error(\n `Transaction failed: status ${receipt.status} : log message ${receipt.data?.tx_result.log}`,\n ),\n );\n }\n }, 1000);\n setTimeout(() => {\n clearInterval(interval);\n reject(new Error(\"Transaction failed: Timeout\"));\n }, timeout);\n });\n }\n\n /**\n * Returns the Kwil signer used by the client.\n * @returns An instance of KwilSigner.\n */\n getKwilSigner(): KwilSigner {\n return new KwilSigner(\n this.signerInfo.signer,\n this.address().getAddress(),\n );\n }\n\n /**\n * Returns the Kwil client used by the client.\n * @returns An instance of Kwil.\n * @throws If the Kwil client is not initialized.\n */\n getKwilClient(): Kwil<EnvironmentType> {\n if (!this.kwilClient) {\n throw new Error(\"Kwil client not initialized\");\n }\n return this.kwilClient;\n }\n\n /**\n * Returns the Neon connection string used by the client.\n */\n getNeonConnectionString(): string | undefined {\n return this.neonConnectionString;\n }\n\n /**\n * Deploys a new stream.\n * @param streamId - The ID of the stream to deploy.\n * @param streamType - The type of the stream.\n * @param synchronous - Whether the deployment should be synchronous.\n * @param contractVersion\n * @returns A promise that resolves to a generic response containing the transaction receipt.\n */\n async deployStream(\n streamId: StreamId,\n streamType: StreamType,\n synchronous?: boolean,\n ): Promise<GenericResponse<TxReceipt>> {\n return await deployStream({\n streamId,\n streamType,\n synchronous,\n kwilClient: this.getKwilClient(),\n kwilSigner: this.getKwilSigner(),\n neonConnectionString: this.getNeonConnectionString(),\n });\n }\n\n /**\n * Destroys a stream.\n * @param stream - The StreamLocator of the stream to destroy.\n * @param synchronous - Whether the destruction should be synchronous.\n * @returns A promise that resolves to a generic response containing the transaction receipt.\n */\n async destroyStream(\n stream: StreamLocator,\n synchronous?: boolean,\n ): Promise<GenericResponse<TxReceipt>> {\n return await deleteStream({\n stream,\n synchronous,\n kwilClient: this.getKwilClient(),\n kwilSigner: this.getKwilSigner(),\n });\n }\n\n /**\n * Loads an already deployed stream, permitting its API usage.\n * @returns An instance of IStream.\n */\n loadAction(): Action {\n return new Action(\n this.getKwilClient() as WebKwil | NodeKwil,\n this.getKwilSigner(),\n );\n }\n\n /**\n * Loads a primitive stream.\n * @returns An instance of IPrimitiveStream.\n */\n loadPrimitiveAction(): PrimitiveAction {\n return PrimitiveAction.fromStream(this.loadAction());\n }\n\n /**\n * Loads a composed stream.\n * @returns An instance of IComposedStream.\n */\n loadComposedAction(): ComposedAction {\n return ComposedAction.fromStream(this.loadAction(), this.getNeonConnectionString());\n }\n\n /**\n * Creates a new stream locator.\n * @param streamId - The ID of the stream.\n * @returns A StreamLocator object.\n */\n ownStreamLocator(streamId: StreamId): StreamLocator {\n return {\n streamId,\n dataProvider: this.address(),\n };\n }\n\n /**\n * Returns the address of the signer used by the client.\n * @returns An instance of EthereumAddress.\n */\n address(): EthereumAddress {\n return new EthereumAddress(this.signerInfo.address);\n }\n\n /**\n * Returns all streams from the TN network.\n * @param input - The input parameters for listing streams.\n * @returns A promise that resolves to a list of stream locators.\n */\n async getListStreams(input: ListStreamsInput): Promise<StreamLocator[]> {\n return listStreams(this.getKwilClient() as WebKwil | NodeKwil,this.getKwilSigner(),input);\n }\n\n /**\n * Returns the last write activity across streams.\n * @param input - The input parameters for getting last transactions.\n * @returns A promise that resolves to a list of last transactions.\n */\n async getLastTransactions(input: GetLastTransactionsInput): Promise<any[]> {\n return getLastTransactions(this.getKwilClient() as WebKwil | NodeKwil,this.getKwilSigner(),input);\n }\n\n /**\n * Get the default chain id for a provider. Use with caution, as this decreases the security of the TN.\n * @param provider - The provider URL.\n * @returns A promise that resolves to the chain ID.\n */\n public static async getDefaultChainId(provider: string) {\n const kwilClient = new Client({\n kwilProvider: provider,\n });\n const chainInfo = await kwilClient[\"chainInfoClient\"]();\n return chainInfo.data?.chain_id;\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;AAAA,SAAS,QAAQ,kBAAqC;AAQtD,SAAS,sBAAsB;AAC/B,SAAS,oBAAoB;AAC7B,SAAS,oBAAoB;AAC7B,SAAS,uBAAuB;AAChC,SAAS,cAAc;AAGvB,SAAS,uBAAuB;AAEhC,SAAS,mBAAmB;AAC5B,SAAS,2BAA2B;AA+B7B,IAAe,eAAf,MAAuD;AAAA,EAKlD,YAAY,SAA0B;AAJhD,wBAAU;AACV,wBAAU;AACV,wBAAU;AAGR,SAAK,aAAa,QAAQ;AAC1B,SAAK,uBAAuB,QAAQ;AAAA,EACtC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQA,MAAM,UAAU,QAAgB,UAAU,MAA+B;AACvE,WAAO,IAAI,QAAuB,OAAO,SAAS,WAAW;AAC3D,Y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EACpG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOF,aAAoB,kBAAkB,UAAkB;AACtD,UAAM,aAAa,IAAI,OAAO;AAAA,MAC5B,cAAc;AAAA,IAChB,CAAC;AACD,UAAM,YAAY,MAAM,WAAW,iBAAiB,EAAE;AACtD,WAAO,UAAU,MAAM;AAAA,EACzB;AACF;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -7,7 +7,8 @@ async function listStreams(kwilClient, kwilSigner, input) {
|
|
|
7
7
|
$data_provider: input.dataProvider,
|
|
8
8
|
$limit: input.limit,
|
|
9
9
|
$offset: input.offset,
|
|
10
|
-
$order_by: input.orderBy
|
|
10
|
+
$order_by: input.orderBy,
|
|
11
|
+
$block_height: input.blockHeight
|
|
11
12
|
},
|
|
12
13
|
name: "list_streams",
|
|
13
14
|
namespace: "main"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/client/listStreams.ts"],
|
|
4
|
-
"sourcesContent": ["import {StreamLocator} from \"../types/stream\";\nimport {EthereumAddress} from \"../util/EthereumAddress\";\nimport {StreamId} from \"../util/StreamId\";\nimport {Database} from \"@kwilteam/kwil-js/dist/core/database\";\nimport {ListStreamsInput} from \"./client\";\nimport {KwilSigner, NodeKwil, WebKwil} from \"@kwilteam/kwil-js\";\n\n/**\n * List all streams from the TN network.\n * @param kwilClient - The Kwil client.\n * @param kwilSigner - The Kwil signer.\n * @param input - The input parameters for listing streams.\n * @returns A list of stream locators.\n */\nexport async function listStreams(\n kwilClient: WebKwil | NodeKwil,\n kwilSigner: KwilSigner,\n input: ListStreamsInput\n): Promise<StreamLocator[]> {\n const result = await kwilClient.call({\n inputs: {\n $data_provider: input.dataProvider,\n $limit: input.limit,\n $offset: input.offset,\n $order_by: input.orderBy,\n },\n name: \"list_streams\",\n namespace: \"main\",\n }, kwilSigner);\n\n return await Promise.all(\n (result.data?.result as {\n data_provider: string;\n stream_id: string;\n stream_type: string;\n created_at: number;\n }[]).map(async (database) => ({\n streamId: await StreamId.generate(database.stream_id),\n dataProvider: new EthereumAddress(database.data_provider),\n }))\n );\n}"],
|
|
5
|
-
"mappings": ";AACA,SAAQ,uBAAsB;AAC9B,SAAQ,gBAAe;AAYvB,eAAsB,YACpB,YACA,YACA,OAC0B;AACxB,QAAM,SAAS,MAAM,WAAW,KAAK;AAAA,IACjC,QAAQ;AAAA,MACJ,gBAAgB,MAAM;AAAA,MACtB,QAAQ,MAAM;AAAA,MACd,SAAS,MAAM;AAAA,MACf,WAAW,MAAM;AAAA,
|
|
4
|
+
"sourcesContent": ["import {StreamLocator} from \"../types/stream\";\nimport {EthereumAddress} from \"../util/EthereumAddress\";\nimport {StreamId} from \"../util/StreamId\";\nimport {Database} from \"@kwilteam/kwil-js/dist/core/database\";\nimport {ListStreamsInput} from \"./client\";\nimport {KwilSigner, NodeKwil, WebKwil} from \"@kwilteam/kwil-js\";\n\n/**\n * List all streams from the TN network.\n * @param kwilClient - The Kwil client.\n * @param kwilSigner - The Kwil signer.\n * @param input - The input parameters for listing streams.\n * @returns A list of stream locators.\n */\nexport async function listStreams(\n kwilClient: WebKwil | NodeKwil,\n kwilSigner: KwilSigner,\n input: ListStreamsInput\n): Promise<StreamLocator[]> {\n const result = await kwilClient.call({\n inputs: {\n $data_provider: input.dataProvider,\n $limit: input.limit,\n $offset: input.offset,\n $order_by: input.orderBy,\n $block_height: input.blockHeight,\n },\n name: \"list_streams\",\n namespace: \"main\",\n }, kwilSigner);\n\n return await Promise.all(\n (result.data?.result as {\n data_provider: string;\n stream_id: string;\n stream_type: string;\n created_at: number;\n }[]).map(async (database) => ({\n streamId: await StreamId.generate(database.stream_id),\n dataProvider: new EthereumAddress(database.data_provider),\n }))\n );\n}"],
|
|
5
|
+
"mappings": ";AACA,SAAQ,uBAAsB;AAC9B,SAAQ,gBAAe;AAYvB,eAAsB,YACpB,YACA,YACA,OAC0B;AACxB,QAAM,SAAS,MAAM,WAAW,KAAK;AAAA,IACjC,QAAQ;AAAA,MACJ,gBAAgB,MAAM;AAAA,MACtB,QAAQ,MAAM;AAAA,MACd,SAAS,MAAM;AAAA,MACf,WAAW,MAAM;AAAA,MACjB,eAAe,MAAM;AAAA,IACzB;AAAA,IACA,MAAM;AAAA,IACN,WAAW;AAAA,EACf,GAAG,UAAU;AAEb,SAAO,MAAM,QAAQ;AAAA,KAChB,OAAO,MAAM,QAKT,IAAI,OAAO,cAAc;AAAA,MAC1B,UAAU,MAAM,SAAS,SAAS,SAAS,SAAS;AAAA,MACpD,cAAc,IAAI,gBAAgB,SAAS,aAAa;AAAA,IAC5D,EAAE;AAAA,EACN;AACJ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -366,6 +366,17 @@ var Action = class {
|
|
|
366
366
|
}))
|
|
367
367
|
).throw();
|
|
368
368
|
}
|
|
369
|
+
/**
|
|
370
|
+
* Returns the size of database
|
|
371
|
+
*/
|
|
372
|
+
async getDatabaseSize() {
|
|
373
|
+
const result = await this.call("get_database_size", {});
|
|
374
|
+
return result.map((rows) => {
|
|
375
|
+
const raw = rows[0].database_size;
|
|
376
|
+
const asBigInt = BigInt(raw.toString());
|
|
377
|
+
return asBigInt;
|
|
378
|
+
}).throw();
|
|
379
|
+
}
|
|
369
380
|
};
|
|
370
381
|
export {
|
|
371
382
|
Action
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/contracts-api/action.ts"],
|
|
4
|
-
"sourcesContent": ["import {KwilSigner, NodeKwil, WebKwil} from \"@kwilteam/kwil-js\";\nimport { ActionBody } from '@kwilteam/kwil-js/dist/core/action';\nimport {NamedParams} from \"@kwilteam/kwil-js/dist/core/action\";\nimport { GenericResponse } from \"@kwilteam/kwil-js/dist/core/resreq\";\nimport { TxReceipt } from \"@kwilteam/kwil-js/dist/core/tx\";\nimport { Either } from \"monads-io\";\nimport { DateString } from \"../types/other\";\nimport { StreamLocator } from \"../types/stream\";\nimport { EthereumAddress } from \"../util/EthereumAddress\";\nimport { head } from \"../util/head\";\nimport { StreamId } from \"../util/StreamId\";\nimport { toVisibilityEnum, VisibilityEnum } from \"../util/visibility\";\nimport {\n MetadataKey,\n MetadataKeyValueMap,\n MetadataTableKey,\n MetadataValueTypeForKey,\n StreamType,\n} from \"./contractValues\";\nimport {ValueType} from \"@kwilteam/kwil-js/dist/utils/types\";\n\nexport interface GetRecordInput {\n stream: StreamLocator;\n from?: number;\n to?: number;\n frozenAt?: number;\n baseTime?: DateString | number;\n}\n\nexport interface GetFirstRecordInput {\n stream: StreamLocator;\n after?: number;\n frozenAt?: number;\n}\n\nexport interface StreamRecord {\n eventTime: number;\n value: string;\n}\n\nexport interface GetIndexChangeInput extends GetRecordInput {\n timeInterval: number;\n}\n\nexport class Action {\n protected kwilClient: WebKwil | NodeKwil;\n protected kwilSigner: KwilSigner;\n constructor(\n kwilClient: WebKwil | NodeKwil,\n kwilSigner: KwilSigner,\n ) {\n this.kwilClient = kwilClient;\n this.kwilSigner = kwilSigner;\n }\n\n /**\n * Executes a method on the stream\n */\n protected async executeWithNamedParams(\n method: string,\n inputs: NamedParams[],\n ): Promise<GenericResponse<TxReceipt>> {\n return this.kwilClient.execute({\n namespace: \"main\",\n name: method,\n inputs,\n description: `TN SDK - Executing method on stream: ${method}`,\n },\n this.kwilSigner,\n );\n }\n\n /**\n * Executes a method on the stream\n */\n protected async executeWithActionBody(\n inputs: ActionBody,\n synchronous: boolean = false,\n ): Promise<GenericResponse<TxReceipt>> {\n return this.kwilClient.execute(inputs, this.kwilSigner, synchronous);\n }\n\n /**\n * Calls a method on the stream\n */\n protected async call<T>(\n method: string,\n inputs: NamedParams,\n ): Promise<Either<number, T>> {\n const result = await this.kwilClient.call(\n {\n namespace: \"main\",\n name: method,\n inputs: inputs,\n },\n this.kwilSigner,\n );\n\n if (result.status !== 200) {\n return Either.left(result.status);\n }\n\n return Either.right(result.data?.result as T);\n }\n\n /**\n * Returns the records of the stream within the given date range\n */\n public async getRecord(input: GetRecordInput): Promise<StreamRecord[]> {\n const result = await this.call<{ event_time: number; value: string }[]>(\n \"get_record\",\n {\n $data_provider: input.stream.dataProvider.getAddress(),\n $stream_id: input.stream.streamId.getId(),\n $from: input.from,\n $to: input.to,\n $frozen_at: input.frozenAt,\n }\n );\n return result\n .mapRight((result) =>\n result.map((row) => ({\n eventTime: row.event_time,\n value: row.value,\n })),\n )\n .throw();\n }\n\n /**\n * Returns the index of the stream within the given date range\n */\n public async getIndex(input: GetRecordInput): Promise<StreamRecord[]> {\n const result = await this.call<{ event_time: number; value: string }[]>(\n \"get_index\",\n {\n $data_provider: input.stream.dataProvider.getAddress(),\n $stream_id: input.stream.streamId.getId(),\n $from: input.from,\n $to: input.to,\n $frozen_at: input.frozenAt,\n $base_time: input.baseTime,\n }\n );\n return result\n .mapRight((result) =>\n result.map((row) => ({\n eventTime: row.event_time,\n value: row.value,\n })),\n )\n .throw();\n }\n\n /**\n * Returns the type of the stream\n */\n public async getType(\n stream: StreamLocator,\n ): Promise<StreamType> {\n const result = await this.getMetadata(\n stream,\n MetadataKey.TypeKey);\n\n if (!result) {\n throw new Error(\"Failed to get stream type\");\n }\n\n const type = head(result).unwrapOrElse(() => {\n throw new Error(\n \"Failed to get stream type. Check if the stream is initialized.\",\n );\n });\n\n const validTypes = [StreamType.Primitive, StreamType.Composed];\n\n if (!validTypes.includes(type.value as StreamType)) {\n throw new Error(`Invalid stream type: ${type.value}`);\n }\n\n return type.value as StreamType;\n }\n\n /**\n * Returns the first record of the stream\n */\n public async getFirstRecord(\n input: GetFirstRecordInput,\n ): Promise<StreamRecord | null> {\n const result = await this.call<{ event_time: number; value: string }[]>(\n \"get_first_record\",\n {\n $data_provider: input.stream.dataProvider.getAddress(),\n $stream_id: input.stream.streamId.getId(),\n $after: input.after,\n $frozen_at: input.frozenAt,\n }\n );\n\n return result\n .mapRight(head)\n .mapRight((result) =>\n result\n .map((result) => ({\n eventTime: result.event_time,\n value: result.value,\n }))\n .unwrapOr(null),\n )\n .throw();\n }\n\n protected async setMetadata<K extends MetadataKey>(\n stream: StreamLocator,\n key: K,\n value: MetadataValueTypeForKey<K>,\n ): Promise<GenericResponse<TxReceipt>> {\n return await this.executeWithNamedParams(\"insert_metadata\", [{\n $data_provider: stream.dataProvider.getAddress(),\n $stream_id: stream.streamId.getId(),\n $key: key,\n $value: value,\n $val_type: MetadataKeyValueMap[key],\n },\n ]);\n }\n\n protected async getMetadata<K extends MetadataKey>(\n stream: StreamLocator,\n key: K,\n // onlyLatest: boolean = true,\n filteredRef?: string,\n limit?: number,\n offset?: number,\n orderBy?: string,\n ): Promise<\n { rowId: string; value: MetadataValueTypeForKey<K>; createdAt: number }[]\n > {\n const result = await this.call<\n {\n row_id: string;\n value_i: number;\n value_f: string;\n value_b: boolean;\n value_s: string;\n value_ref: string;\n created_at: number;\n }[]\n >(\"get_metadata\", {\n $data_provider: stream.dataProvider.getAddress(),\n $stream_id: stream.streamId.getId(),\n $key: key,\n $ref: filteredRef,\n $limit: limit,\n $offset: offset,\n $order_by: orderBy,\n },\n );\n return result\n .mapRight((result) =>\n result.map((row) => ({\n rowId: row.row_id,\n value: row[\n MetadataTableKey[MetadataKeyValueMap[key as MetadataKey]]\n ] as MetadataValueTypeForKey<K>,\n createdAt: row.created_at,\n })),\n )\n .throw();\n }\n\n /**\n * Sets the read visibility of the stream\n */\n public async setReadVisibility(\n stream: StreamLocator,\n visibility: VisibilityEnum,\n ): Promise<GenericResponse<TxReceipt>> {\n return await this.setMetadata(\n stream,\n MetadataKey.ReadVisibilityKey,\n visibility.toString(),\n );\n }\n\n /**\n * Returns the read visibility of the stream\n */\n public async getReadVisibility(\n stream: StreamLocator,\n ): Promise<VisibilityEnum | null> {\n const result = await this.getMetadata(\n stream,\n MetadataKey.ReadVisibilityKey);\n\n return head(result)\n .map((row) => toVisibilityEnum(row.value))\n .unwrapOr(null);\n }\n\n /**\n * Sets the compose visibility of the stream\n */\n public async setComposeVisibility(\n stream: StreamLocator,\n visibility: VisibilityEnum,\n ): Promise<GenericResponse<TxReceipt>> {\n return await this.setMetadata(\n stream,\n MetadataKey.ComposeVisibilityKey,\n visibility.toString(),\n );\n }\n\n /**\n * Returns the compose visibility of the stream\n */\n public async getComposeVisibility(\n stream: StreamLocator,\n ): Promise<VisibilityEnum | null> {\n const result = await this.getMetadata(\n stream,\n MetadataKey.ComposeVisibilityKey);\n\n return head(result)\n .map((row) => toVisibilityEnum(row.value))\n .unwrapOr(null);\n }\n\n /**\n * Allows a wallet to read the stream\n */\n public async allowReadWallet(\n stream: StreamLocator,\n wallet: EthereumAddress,\n ): Promise<GenericResponse<TxReceipt>> {\n return await this.setMetadata(\n stream,\n MetadataKey.AllowReadWalletKey,\n wallet.getAddress(),\n );\n }\n\n /**\n * Disables a wallet from reading the stream\n */\n public async disableReadWallet(\n stream: StreamLocator,\n wallet: EthereumAddress,\n ): Promise<GenericResponse<TxReceipt>> {\n const result = await this.getMetadata(\n stream,\n MetadataKey.AllowReadWalletKey,\n wallet.getAddress(),\n );\n\n const row_id = head(result)\n .map((row) => row.rowId)\n .unwrapOr(null);\n\n if (!row_id) {\n throw new Error(\"Wallet not found in allowed list\");\n }\n\n return await this.disableMetadata(stream, row_id);\n }\n\n /**\n * Allows a stream to use this stream as child\n */\n public async allowComposeStream(\n stream: StreamLocator,\n wallet: StreamLocator,\n ): Promise<GenericResponse<TxReceipt>> {\n return await this.setMetadata(\n stream,\n MetadataKey.AllowComposeStreamKey,\n wallet.streamId.getId(),\n );\n }\n\n /**\n * Disables a stream from using this stream as child\n */\n public async disableComposeStream(\n stream: StreamLocator,\n wallet: StreamLocator,\n ): Promise<GenericResponse<TxReceipt>> {\n const result = await this.getMetadata(\n stream,\n MetadataKey.AllowComposeStreamKey,\n wallet.toString(),\n );\n\n const row_id = head(result)\n .map((row) => row.rowId)\n .unwrapOr(null);\n\n if (!row_id) {\n throw new Error(\"Stream not found in allowed list\");\n }\n\n return await this.disableMetadata(stream, row_id);\n }\n\n protected async disableMetadata(\n stream: StreamLocator,\n rowId: string,\n ): Promise<GenericResponse<TxReceipt>> {\n return await this.executeWithNamedParams(\"disable_metadata\", [{\n $data_provider: stream.dataProvider.getAddress(),\n $stream_id: stream.streamId.getId(),\n $row_id: rowId,\n }]);\n }\n\n /**\n * Returns the wallets allowed to read the stream\n */\n public async getAllowedReadWallets(\n stream: StreamLocator,\n ): Promise<EthereumAddress[]> {\n const result = await this.getMetadata(\n stream,\n MetadataKey.AllowReadWalletKey);\n\n return result\n .filter((row) => row.value)\n .map((row) => new EthereumAddress(row.value));\n }\n\n /**\n * Returns the streams allowed to compose the stream\n */\n public async getAllowedComposeStreams(\n stream: StreamLocator,\n ): Promise<StreamLocator[]> {\n const result = await this.getMetadata(\n stream,\n MetadataKey.AllowComposeStreamKey);\n\n return result\n .filter((row) => row.value)\n .map((row) => {\n const [streamId, dataProvider] = row.value.split(\":\");\n return {\n streamId: StreamId.fromString(streamId).throw(),\n dataProvider: new EthereumAddress(dataProvider),\n };\n });\n }\n\n /**\n * Returns the index change of the stream within the given date range\n */\n public async getIndexChange(\n input: GetIndexChangeInput,\n ): Promise<StreamRecord[]> {\n const result = await this.call<{ event_time: number; value: string }[]>(\n \"get_index_change\", \n {\n $data_provider: input.stream.dataProvider.getAddress(),\n $stream_id: input.stream.streamId.getId(),\n $from: input.from,\n $to: input.to,\n $frozen_at: input.frozenAt,\n $base_time: input.baseTime,\n $time_interval: input.timeInterval,\n }\n );\n\n return result\n .mapRight((result) =>\n result.map((row) => ({\n eventTime: row.event_time,\n value: row.value,\n })),\n )\n .throw();\n }\n\n /**\n * A custom method that accepts the procedure name and the input of GetRecordInput\n * Returns the result of the procedure in the same format as StreamRecord\n * I.e. a custom procedure named \"get_price\" that returns a list of date_value and value\n * can be called with customGetProcedure(\"get_price\", { dateFrom: \"2021-01-01\", dateTo: \"2021-01-31\" })\n */\n public async customGetProcedure(\n procedure: string,\n input: GetRecordInput,\n ): Promise<StreamRecord[]> {\n const result = await this.call<{ event_time: number; value: string }[]>(\n procedure,\n {\n $data_provider: input.stream.dataProvider.getAddress(),\n $stream_id: input.stream.streamId.getId(),\n $from: input.from,\n $to: input.to,\n $frozen_at: input.frozenAt\n }\n );\n return result\n .mapRight((result) =>\n result.map((row) => ({\n eventTime: row.event_time,\n value: row.value,\n })),\n )\n .throw();\n }\n\n\n /**\n * A custom method that accepts the procedure name and custom input of type Record<string, any>\n * Returns the result of the procedure in the same format as StreamRecord\n * I.e. a custom procedure named \"get_custom_index\" that returns a list of date_value and value\n * can be called with customProcedureWithArgs(\"get_custom_index\", { $customArg1: \"value1\", $customArg2: \"value2\" })\n * where $customArg1 and $customArg2 are the arguments of the procedure\n * @param procedure\n * @param args\n */\n public async customProcedureWithArgs(\n procedure: string,\n args: Record<string, ValueType | ValueType[]>,\n ){\n const result = await this.call<{ event_time: number; value: string }[]>(\n procedure,\n args\n );\n return result\n .mapRight((result) =>\n result.map((row) => ({\n eventTime: row.event_time,\n value: row.value,\n })),\n )\n .throw();\n }\n}\n"],
|
|
5
|
-
"mappings": ";;;;;AAKA,SAAS,cAAc;AAGvB,SAAS,uBAAuB;AAChC,SAAS,YAAY;AACrB,SAAS,gBAAgB;AACzB,SAAS,wBAAwC;AACjD;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EAEA;AAAA,OACK;AA0BA,IAAM,SAAN,MAAa;AAAA,EAGlB,YACE,YACA,YACA;AALF,wBAAU;AACV,wBAAU;AAKR,SAAK,aAAa;AAClB,SAAK,aAAa;AAAA,EACpB;AAAA;AAAA;AAAA;AAAA,EAKA,MAAgB,uBACd,QACA,QACqC;AACrC,WAAO,KAAK,WAAW;AAAA,MAAQ;AAAA,QACzB,WAAW;AAAA,QACX,MAAM;AAAA,QACN;AAAA,QACA,aAAa,wCAAwC,MAAM;AAAA,MAC7D;AAAA,MACA,KAAK;AAAA,IACL;AAAA,EACN;AAAA;AAAA;AAAA;AAAA,EAKE,MAA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MACb,EAAE;AAAA,IACJ,EACC,MAAM;AAAA,EACX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQA,MAAa,mBACX,WACA,OACyB;AACzB,UAAM,SAAS,MAAM,KAAK;AAAA,MACxB;AAAA,MACE;AAAA,QACE,gBAAgB,MAAM,OAAO,aAAa,WAAW;AAAA,QACrD,YAAY,MAAM,OAAO,SAAS,MAAM;AAAA,QACxC,OAAO,MAAM;AAAA,QACb,KAAK,MAAM;AAAA,QACX,YAAY,MAAM;AAAA,MACpB;AAAA,IACJ;AACA,WAAO,OACJ;AAAA,MAAS,CAACA,YACTA,QAAO,IAAI,CAAC,SAAS;AAAA,QACnB,WAAW,IAAI;AAAA,QACf,OAAO,IAAI;AAAA,MACb,EAAE;AAAA,IACJ,EACC,MAAM;AAAA,EACX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAYA,MAAa,wBACX,WACA,MACD;AACG,UAAM,SAAS,MAAM,KAAK;AAAA,MACtB;AAAA,MACA;AAAA,IACN;AACA,WAAO,OACJ;AAAA,MAAS,CAACA,YACTA,QAAO,IAAI,CAAC,SAAS;AAAA,QACnB,WAAW,IAAI;AAAA,QACf,OAAO,IAAI;AAAA,MACb,EAAE;AAAA,IACJ,EACC,MAAM;AAAA,EACX;AACF;",
|
|
4
|
+
"sourcesContent": ["import {KwilSigner, NodeKwil, WebKwil} from \"@kwilteam/kwil-js\";\nimport { ActionBody } from '@kwilteam/kwil-js/dist/core/action';\nimport {NamedParams} from \"@kwilteam/kwil-js/dist/core/action\";\nimport { GenericResponse } from \"@kwilteam/kwil-js/dist/core/resreq\";\nimport { TxReceipt } from \"@kwilteam/kwil-js/dist/core/tx\";\nimport { Either } from \"monads-io\";\nimport { DateString } from \"../types/other\";\nimport { StreamLocator } from \"../types/stream\";\nimport { EthereumAddress } from \"../util/EthereumAddress\";\nimport { head } from \"../util/head\";\nimport { StreamId } from \"../util/StreamId\";\nimport { toVisibilityEnum, VisibilityEnum } from \"../util/visibility\";\nimport {\n MetadataKey,\n MetadataKeyValueMap,\n MetadataTableKey,\n MetadataValueTypeForKey,\n StreamType,\n} from \"./contractValues\";\nimport {ValueType} from \"@kwilteam/kwil-js/dist/utils/types\";\n\nexport interface GetRecordInput {\n stream: StreamLocator;\n from?: number;\n to?: number;\n frozenAt?: number;\n baseTime?: DateString | number;\n}\n\nexport interface GetFirstRecordInput {\n stream: StreamLocator;\n after?: number;\n frozenAt?: number;\n}\n\nexport interface StreamRecord {\n eventTime: number;\n value: string;\n}\n\nexport interface GetIndexChangeInput extends GetRecordInput {\n timeInterval: number;\n}\n\nexport class Action {\n protected kwilClient: WebKwil | NodeKwil;\n protected kwilSigner: KwilSigner;\n constructor(\n kwilClient: WebKwil | NodeKwil,\n kwilSigner: KwilSigner,\n ) {\n this.kwilClient = kwilClient;\n this.kwilSigner = kwilSigner;\n }\n\n /**\n * Executes a method on the stream\n */\n protected async executeWithNamedParams(\n method: string,\n inputs: NamedParams[],\n ): Promise<GenericResponse<TxReceipt>> {\n return this.kwilClient.execute({\n namespace: \"main\",\n name: method,\n inputs,\n description: `TN SDK - Executing method on stream: ${method}`,\n },\n this.kwilSigner,\n );\n }\n\n /**\n * Executes a method on the stream\n */\n protected async executeWithActionBody(\n inputs: ActionBody,\n synchronous: boolean = false,\n ): Promise<GenericResponse<TxReceipt>> {\n return this.kwilClient.execute(inputs, this.kwilSigner, synchronous);\n }\n\n /**\n * Calls a method on the stream\n */\n protected async call<T>(\n method: string,\n inputs: NamedParams,\n ): Promise<Either<number, T>> {\n const result = await this.kwilClient.call(\n {\n namespace: \"main\",\n name: method,\n inputs: inputs,\n },\n this.kwilSigner,\n );\n\n if (result.status !== 200) {\n return Either.left(result.status);\n }\n\n return Either.right(result.data?.result as T);\n }\n\n /**\n * Returns the records of the stream within the given date range\n */\n public async getRecord(input: GetRecordInput): Promise<StreamRecord[]> {\n const result = await this.call<{ event_time: number; value: string }[]>(\n \"get_record\",\n {\n $data_provider: input.stream.dataProvider.getAddress(),\n $stream_id: input.stream.streamId.getId(),\n $from: input.from,\n $to: input.to,\n $frozen_at: input.frozenAt,\n }\n );\n return result\n .mapRight((result) =>\n result.map((row) => ({\n eventTime: row.event_time,\n value: row.value,\n })),\n )\n .throw();\n }\n\n /**\n * Returns the index of the stream within the given date range\n */\n public async getIndex(input: GetRecordInput): Promise<StreamRecord[]> {\n const result = await this.call<{ event_time: number; value: string }[]>(\n \"get_index\",\n {\n $data_provider: input.stream.dataProvider.getAddress(),\n $stream_id: input.stream.streamId.getId(),\n $from: input.from,\n $to: input.to,\n $frozen_at: input.frozenAt,\n $base_time: input.baseTime,\n }\n );\n return result\n .mapRight((result) =>\n result.map((row) => ({\n eventTime: row.event_time,\n value: row.value,\n })),\n )\n .throw();\n }\n\n /**\n * Returns the type of the stream\n */\n public async getType(\n stream: StreamLocator,\n ): Promise<StreamType> {\n const result = await this.getMetadata(\n stream,\n MetadataKey.TypeKey);\n\n if (!result) {\n throw new Error(\"Failed to get stream type\");\n }\n\n const type = head(result).unwrapOrElse(() => {\n throw new Error(\n \"Failed to get stream type. Check if the stream is initialized.\",\n );\n });\n\n const validTypes = [StreamType.Primitive, StreamType.Composed];\n\n if (!validTypes.includes(type.value as StreamType)) {\n throw new Error(`Invalid stream type: ${type.value}`);\n }\n\n return type.value as StreamType;\n }\n\n /**\n * Returns the first record of the stream\n */\n public async getFirstRecord(\n input: GetFirstRecordInput,\n ): Promise<StreamRecord | null> {\n const result = await this.call<{ event_time: number; value: string }[]>(\n \"get_first_record\",\n {\n $data_provider: input.stream.dataProvider.getAddress(),\n $stream_id: input.stream.streamId.getId(),\n $after: input.after,\n $frozen_at: input.frozenAt,\n }\n );\n\n return result\n .mapRight(head)\n .mapRight((result) =>\n result\n .map((result) => ({\n eventTime: result.event_time,\n value: result.value,\n }))\n .unwrapOr(null),\n )\n .throw();\n }\n\n protected async setMetadata<K extends MetadataKey>(\n stream: StreamLocator,\n key: K,\n value: MetadataValueTypeForKey<K>,\n ): Promise<GenericResponse<TxReceipt>> {\n return await this.executeWithNamedParams(\"insert_metadata\", [{\n $data_provider: stream.dataProvider.getAddress(),\n $stream_id: stream.streamId.getId(),\n $key: key,\n $value: value,\n $val_type: MetadataKeyValueMap[key],\n },\n ]);\n }\n\n protected async getMetadata<K extends MetadataKey>(\n stream: StreamLocator,\n key: K,\n // onlyLatest: boolean = true,\n filteredRef?: string,\n limit?: number,\n offset?: number,\n orderBy?: string,\n ): Promise<\n { rowId: string; value: MetadataValueTypeForKey<K>; createdAt: number }[]\n > {\n const result = await this.call<\n {\n row_id: string;\n value_i: number;\n value_f: string;\n value_b: boolean;\n value_s: string;\n value_ref: string;\n created_at: number;\n }[]\n >(\"get_metadata\", {\n $data_provider: stream.dataProvider.getAddress(),\n $stream_id: stream.streamId.getId(),\n $key: key,\n $ref: filteredRef,\n $limit: limit,\n $offset: offset,\n $order_by: orderBy,\n },\n );\n return result\n .mapRight((result) =>\n result.map((row) => ({\n rowId: row.row_id,\n value: row[\n MetadataTableKey[MetadataKeyValueMap[key as MetadataKey]]\n ] as MetadataValueTypeForKey<K>,\n createdAt: row.created_at,\n })),\n )\n .throw();\n }\n\n /**\n * Sets the read visibility of the stream\n */\n public async setReadVisibility(\n stream: StreamLocator,\n visibility: VisibilityEnum,\n ): Promise<GenericResponse<TxReceipt>> {\n return await this.setMetadata(\n stream,\n MetadataKey.ReadVisibilityKey,\n visibility.toString(),\n );\n }\n\n /**\n * Returns the read visibility of the stream\n */\n public async getReadVisibility(\n stream: StreamLocator,\n ): Promise<VisibilityEnum | null> {\n const result = await this.getMetadata(\n stream,\n MetadataKey.ReadVisibilityKey);\n\n return head(result)\n .map((row) => toVisibilityEnum(row.value))\n .unwrapOr(null);\n }\n\n /**\n * Sets the compose visibility of the stream\n */\n public async setComposeVisibility(\n stream: StreamLocator,\n visibility: VisibilityEnum,\n ): Promise<GenericResponse<TxReceipt>> {\n return await this.setMetadata(\n stream,\n MetadataKey.ComposeVisibilityKey,\n visibility.toString(),\n );\n }\n\n /**\n * Returns the compose visibility of the stream\n */\n public async getComposeVisibility(\n stream: StreamLocator,\n ): Promise<VisibilityEnum | null> {\n const result = await this.getMetadata(\n stream,\n MetadataKey.ComposeVisibilityKey);\n\n return head(result)\n .map((row) => toVisibilityEnum(row.value))\n .unwrapOr(null);\n }\n\n /**\n * Allows a wallet to read the stream\n */\n public async allowReadWallet(\n stream: StreamLocator,\n wallet: EthereumAddress,\n ): Promise<GenericResponse<TxReceipt>> {\n return await this.setMetadata(\n stream,\n MetadataKey.AllowReadWalletKey,\n wallet.getAddress(),\n );\n }\n\n /**\n * Disables a wallet from reading the stream\n */\n public async disableReadWallet(\n stream: StreamLocator,\n wallet: EthereumAddress,\n ): Promise<GenericResponse<TxReceipt>> {\n const result = await this.getMetadata(\n stream,\n MetadataKey.AllowReadWalletKey,\n wallet.getAddress(),\n );\n\n const row_id = head(result)\n .map((row) => row.rowId)\n .unwrapOr(null);\n\n if (!row_id) {\n throw new Error(\"Wallet not found in allowed list\");\n }\n\n return await this.disableMetadata(stream, row_id);\n }\n\n /**\n * Allows a stream to use this stream as child\n */\n public async allowComposeStream(\n stream: StreamLocator,\n wallet: StreamLocator,\n ): Promise<GenericResponse<TxReceipt>> {\n return await this.setMetadata(\n stream,\n MetadataKey.AllowComposeStreamKey,\n wallet.streamId.getId(),\n );\n }\n\n /**\n * Disables a stream from using this stream as child\n */\n public async disableComposeStream(\n stream: StreamLocator,\n wallet: StreamLocator,\n ): Promise<GenericResponse<TxReceipt>> {\n const result = await this.getMetadata(\n stream,\n MetadataKey.AllowComposeStreamKey,\n wallet.toString(),\n );\n\n const row_id = head(result)\n .map((row) => row.rowId)\n .unwrapOr(null);\n\n if (!row_id) {\n throw new Error(\"Stream not found in allowed list\");\n }\n\n return await this.disableMetadata(stream, row_id);\n }\n\n protected async disableMetadata(\n stream: StreamLocator,\n rowId: string,\n ): Promise<GenericResponse<TxReceipt>> {\n return await this.executeWithNamedParams(\"disable_metadata\", [{\n $data_provider: stream.dataProvider.getAddress(),\n $stream_id: stream.streamId.getId(),\n $row_id: rowId,\n }]);\n }\n\n /**\n * Returns the wallets allowed to read the stream\n */\n public async getAllowedReadWallets(\n stream: StreamLocator,\n ): Promise<EthereumAddress[]> {\n const result = await this.getMetadata(\n stream,\n MetadataKey.AllowReadWalletKey);\n\n return result\n .filter((row) => row.value)\n .map((row) => new EthereumAddress(row.value));\n }\n\n /**\n * Returns the streams allowed to compose the stream\n */\n public async getAllowedComposeStreams(\n stream: StreamLocator,\n ): Promise<StreamLocator[]> {\n const result = await this.getMetadata(\n stream,\n MetadataKey.AllowComposeStreamKey);\n\n return result\n .filter((row) => row.value)\n .map((row) => {\n const [streamId, dataProvider] = row.value.split(\":\");\n return {\n streamId: StreamId.fromString(streamId).throw(),\n dataProvider: new EthereumAddress(dataProvider),\n };\n });\n }\n\n /**\n * Returns the index change of the stream within the given date range\n */\n public async getIndexChange(\n input: GetIndexChangeInput,\n ): Promise<StreamRecord[]> {\n const result = await this.call<{ event_time: number; value: string }[]>(\n \"get_index_change\", \n {\n $data_provider: input.stream.dataProvider.getAddress(),\n $stream_id: input.stream.streamId.getId(),\n $from: input.from,\n $to: input.to,\n $frozen_at: input.frozenAt,\n $base_time: input.baseTime,\n $time_interval: input.timeInterval,\n }\n );\n\n return result\n .mapRight((result) =>\n result.map((row) => ({\n eventTime: row.event_time,\n value: row.value,\n })),\n )\n .throw();\n }\n\n /**\n * A custom method that accepts the procedure name and the input of GetRecordInput\n * Returns the result of the procedure in the same format as StreamRecord\n * I.e. a custom procedure named \"get_price\" that returns a list of date_value and value\n * can be called with customGetProcedure(\"get_price\", { dateFrom: \"2021-01-01\", dateTo: \"2021-01-31\" })\n */\n public async customGetProcedure(\n procedure: string,\n input: GetRecordInput,\n ): Promise<StreamRecord[]> {\n const result = await this.call<{ event_time: number; value: string }[]>(\n procedure,\n {\n $data_provider: input.stream.dataProvider.getAddress(),\n $stream_id: input.stream.streamId.getId(),\n $from: input.from,\n $to: input.to,\n $frozen_at: input.frozenAt\n }\n );\n return result\n .mapRight((result) =>\n result.map((row) => ({\n eventTime: row.event_time,\n value: row.value,\n })),\n )\n .throw();\n }\n\n\n /**\n * A custom method that accepts the procedure name and custom input of type Record<string, any>\n * Returns the result of the procedure in the same format as StreamRecord\n * I.e. a custom procedure named \"get_custom_index\" that returns a list of date_value and value\n * can be called with customProcedureWithArgs(\"get_custom_index\", { $customArg1: \"value1\", $customArg2: \"value2\" })\n * where $customArg1 and $customArg2 are the arguments of the procedure\n * @param procedure\n * @param args\n */\n public async customProcedureWithArgs(\n procedure: string,\n args: Record<string, ValueType | ValueType[]>,\n ){\n const result = await this.call<{ event_time: number; value: string }[]>(\n procedure,\n args\n );\n return result\n .mapRight((result) =>\n result.map((row) => ({\n eventTime: row.event_time,\n value: row.value,\n })),\n )\n .throw();\n }\n\n /**\n * Returns the size of database\n */\n public async getDatabaseSize(): Promise<BigInt> {\n const result = await this.call<{ database_size: BigInt }[]>(\"get_database_size\", {})\n return result\n .map((rows) => {\n const raw = rows[0].database_size;\n const asBigInt = BigInt(raw.toString());\n return asBigInt;\n }).throw();\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;AAKA,SAAS,cAAc;AAGvB,SAAS,uBAAuB;AAChC,SAAS,YAAY;AACrB,SAAS,gBAAgB;AACzB,SAAS,wBAAwC;AACjD;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EAEA;AAAA,OACK;AA0BA,IAAM,SAAN,MAAa;AAAA,EAGlB,YACE,YACA,YACA;AALF,wBAAU;AACV,wBAAU;AAKR,SAAK,aAAa;AAClB,SAAK,aAAa;AAAA,EACpB;AAAA;AAAA;AAAA;AAAA,EAKA,MAAgB,uBACd,QACA,QACqC;AACrC,WAAO,KAAK,WAAW;AAAA,MAAQ;AAAA,QACzB,WAAW;AAAA,QACX,MAAM;AAAA,QACN;AAAA,QACA,aAAa,wCAAwC,MAAM;AAAA,MAC7D;AAAA,MACA,KAAK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ames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.es2021.d.ts","../node_modules/typescript/lib/lib.es2022.d.ts","../node_modules/typescript/lib/lib.es2023.d.ts","../node_modules/typescript/lib/lib.es2024.d.ts","../node_modules/typescript/lib/lib.esnext.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2016.intl.d.ts","../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../node_modules/typescript/lib/lib.es2017.date.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/typescript/lib/lib.es2021.promise.d.ts","../node_modules/typescript/lib/lib.es2021.string.d.ts","../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../node_modules/typescript/lib/lib.es2021.intl.d.ts","../node_modules/typescript/lib/lib.es2022.array.d.ts","../node_modules/typescript/lib/lib.es2022.error.d.ts","../node_modules/typescript/lib/lib.es2022.intl.d.ts","../node_modules/typescript/lib/lib.es2022.object.d.ts","../node_modules/typescript/lib/lib.es2022.string.d.ts","../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../node_modules/typescript/lib/lib.es2023.array.d.ts","../node_modules/typescript/lib/lib.es2023.collection.d.ts","../node_modules/typescript/lib/lib.es2023.intl.d.ts","../node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts","../node_modules/typescript/lib/lib.es2024.collection.d.ts","../node_modules/typescript/lib/lib.es2024.object.d.ts","../node_modules/typescript/lib/lib.es2024.promise.d.ts","../node_modules/typescript/lib/lib.es2024.regexp.d.ts","../node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2024.string.d.ts","../node_modules/typescript/lib/lib.esnext.array.d.ts","../node_modules/typescript/lib/lib.esnext.collection.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../node_modules/typescript/lib/lib.esnext.disposable.d.ts","../node_modules/typescript/lib/lib.esnext.promise.d.ts","../node_modules/typescript/lib/lib.esnext.decorators.d.ts","../node_modules/typescript/lib/lib.esnext.iterator.d.ts","../node_modules/typescript/lib/lib.esnext.float16.d.ts","../node_modules/typescript/lib/lib.decorators.d.ts","../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../node_modules/@kwilteam/kwil-js/dist/core/enums.d.ts","../node_modules/@kwilteam/kwil-js/dist/api_client/config.d.ts","../node_modules/@kwilteam/kwil-js/dist/core/database.d.ts","../node_modules/@kwilteam/kwil-js/dist/core/network.d.ts","../node_modules/@kwilteam/kwil-js/dist/core/payload.d.ts","../node_modules/@kwilteam/kwil-js/dist/utils/types.d.ts","../node_modules/@kwilteam/kwil-js/dist/core/signature.d.ts","../node_modules/@kwilteam/kwil-js/dist/core/action.d.ts","../node_modules/@kwilteam/kwil-js/dist/core/kwilSigner.d.ts","../node_modules/@kwilteam/kwil-js/dist/core/message.d.ts","../node_modules/@kwilteam/kwil-js/dist/core/resreq.d.ts","../node_modules/@kwilteam/kwil-js/dist/core/tx.d.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/dom-events.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/readline/promises.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/test.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/globals.global.d.ts","../node_modules/@types/node/index.d.ts","../node_modules/axios/index.d.ts","../node_modules/@kwilteam/kwil-js/dist/api_client/api.d.ts","../node_modules/@kwilteam/kwil-js/dist/core/txQuery.d.ts","../node_modules/@kwilteam/kwil-js/dist/core/auth.d.ts","../node_modules/@kwilteam/kwil-js/dist/core/jsonrpc.d.ts","../node_modules/@kwilteam/kwil-js/dist/api_client/client.d.ts","../node_modules/@kwilteam/kwil-js/dist/funder/funding_types.d.ts","../node_modules/@kwilteam/kwil-js/dist/funder/funder.d.ts","../node_modules/@kwilteam/kwil-js/dist/auth/auth.d.ts","../node_modules/@kwilteam/kwil-js/dist/client/kwil.d.ts","../node_modules/@kwilteam/kwil-js/dist/client/node/nodeKwil.d.ts","../node_modules/@kwilteam/kwil-js/dist/client/web/webKwil.d.ts","../node_modules/@kwilteam/kwil-js/dist/utils/dbid.d.ts","../node_modules/@kwilteam/kwil-js/dist/index.d.ts","../src/types/other.ts","../node_modules/crypto-hash/index.d.ts","../node_modules/monads-io/dist/types.d.ts","../node_modules/monads-io/dist/either.d.ts","../node_modules/monads-io/dist/maybe.d.ts","../node_modules/monads-io/dist/convert.d.ts","../node_modules/monads-io/dist/either.exports.d.ts","../node_modules/monads-io/dist/maybe.exports.d.ts","../node_modules/monads-io/dist/identity.d.ts","../node_modules/monads-io/dist/identity.exports.d.ts","../node_modules/monads-io/dist/runtime.d.ts","../node_modules/monads-io/dist/errors.d.ts","../node_modules/monads-io/dist/index.d.ts","../node_modules/monads-io/index.d.ts","../src/util/StreamId.ts","../node_modules/ethers/lib.esm/_version.d.ts","../node_modules/ethers/lib.esm/utils/base58.d.ts","../node_modules/ethers/lib.esm/utils/data.d.ts","../node_modules/ethers/lib.esm/utils/base64.d.ts","../node_modules/ethers/lib.esm/address/address.d.ts","../node_modules/ethers/lib.esm/address/contract-address.d.ts","../node_modules/ethers/lib.esm/address/checks.d.ts","../node_modules/ethers/lib.esm/address/index.d.ts","../node_modules/ethers/lib.esm/crypto/hmac.d.ts","../node_modules/ethers/lib.esm/crypto/keccak.d.ts","../node_modules/ethers/lib.esm/crypto/ripemd160.d.ts","../node_modules/ethers/lib.esm/crypto/pbkdf2.d.ts","../node_modules/ethers/lib.esm/crypto/random.d.ts","../node_modules/ethers/lib.esm/crypto/scrypt.d.ts","../node_modules/ethers/lib.esm/crypto/sha2.d.ts","../node_modules/ethers/lib.esm/crypto/signature.d.ts","../node_modules/ethers/lib.esm/crypto/signing-key.d.ts","../node_modules/ethers/lib.esm/crypto/index.d.ts","../node_modules/ethers/lib.esm/utils/maths.d.ts","../node_modules/ethers/lib.esm/transaction/accesslist.d.ts","../node_modules/ethers/lib.esm/transaction/authorization.d.ts","../node_modules/ethers/lib.esm/transaction/address.d.ts","../node_modules/ethers/lib.esm/transaction/transaction.d.ts","../node_modules/ethers/lib.esm/transaction/index.d.ts","../node_modules/ethers/lib.esm/providers/contracts.d.ts","../node_modules/ethers/lib.esm/utils/fetch.d.ts","../node_modules/ethers/lib.esm/providers/plugins-network.d.ts","../node_modules/ethers/lib.esm/providers/network.d.ts","../node_modules/ethers/lib.esm/providers/formatting.d.ts","../node_modules/ethers/lib.esm/providers/provider.d.ts","../node_modules/ethers/lib.esm/providers/ens-resolver.d.ts","../node_modules/ethers/lib.esm/providers/abstract-provider.d.ts","../node_modules/ethers/lib.esm/hash/authorization.d.ts","../node_modules/ethers/lib.esm/hash/id.d.ts","../node_modules/ethers/lib.esm/hash/namehash.d.ts","../node_modules/ethers/lib.esm/hash/message.d.ts","../node_modules/ethers/lib.esm/hash/solidity.d.ts","../node_modules/ethers/lib.esm/hash/typed-data.d.ts","../node_modules/ethers/lib.esm/hash/index.d.ts","../node_modules/ethers/lib.esm/providers/signer.d.ts","../node_modules/ethers/lib.esm/providers/abstract-signer.d.ts","../node_modules/ethers/lib.esm/providers/community.d.ts","../node_modules/ethers/lib.esm/providers/provider-jsonrpc.d.ts","../node_modules/ethers/lib.esm/providers/provider-socket.d.ts","../node_modules/ethers/lib.esm/providers/provider-websocket.d.ts","../node_modules/ethers/lib.esm/providers/default-provider.d.ts","../node_modules/ethers/lib.esm/providers/signer-noncemanager.d.ts","../node_modules/ethers/lib.esm/providers/provider-fallback.d.ts","../node_modules/ethers/lib.esm/providers/provider-browser.d.ts","../node_modules/ethers/lib.esm/providers/provider-alchemy.d.ts","../node_modules/ethers/lib.esm/providers/provider-blockscout.d.ts","../node_modules/ethers/lib.esm/providers/provider-ankr.d.ts","../node_modules/ethers/lib.esm/providers/provider-cloudflare.d.ts","../node_modules/ethers/lib.esm/providers/provider-chainstack.d.ts","../node_modules/ethers/lib.esm/contract/types.d.ts","../node_modules/ethers/lib.esm/contract/wrappers.d.ts","../node_modules/ethers/lib.esm/contract/contract.d.ts","../node_modules/ethers/lib.esm/contract/factory.d.ts","../node_modules/ethers/lib.esm/contract/index.d.ts","../node_modules/ethers/lib.esm/providers/provider-etherscan.d.ts","../node_modules/ethers/lib.esm/providers/provider-infura.d.ts","../node_modules/ethers/lib.esm/providers/provider-pocket.d.ts","../node_modules/ethers/lib.esm/providers/provider-quicknode.d.ts","../node_modules/ethers/lib.esm/providers/provider-ipcsocket.d.ts","../node_modules/ethers/lib.esm/providers/index.d.ts","../node_modules/ethers/lib.esm/utils/errors.d.ts","../node_modules/ethers/lib.esm/utils/events.d.ts","../node_modules/ethers/lib.esm/utils/fixednumber.d.ts","../node_modules/ethers/lib.esm/utils/properties.d.ts","../node_modules/ethers/lib.esm/utils/rlp-decode.d.ts","../node_modules/ethers/lib.esm/utils/rlp.d.ts","../node_modules/ethers/lib.esm/utils/rlp-encode.d.ts","../node_modules/ethers/lib.esm/utils/units.d.ts","../node_modules/ethers/lib.esm/utils/utf8.d.ts","../node_modules/ethers/lib.esm/utils/uuid.d.ts","../node_modules/ethers/lib.esm/utils/index.d.ts","../node_modules/ethers/lib.esm/abi/coders/abstract-coder.d.ts","../node_modules/ethers/lib.esm/abi/fragments.d.ts","../node_modules/ethers/lib.esm/abi/abi-coder.d.ts","../node_modules/ethers/lib.esm/abi/bytes32.d.ts","../node_modules/ethers/lib.esm/abi/typed.d.ts","../node_modules/ethers/lib.esm/abi/interface.d.ts","../node_modules/ethers/lib.esm/abi/index.d.ts","../node_modules/ethers/lib.esm/constants/addresses.d.ts","../node_modules/ethers/lib.esm/constants/hashes.d.ts","../node_modules/ethers/lib.esm/constants/numbers.d.ts","../node_modules/ethers/lib.esm/constants/strings.d.ts","../node_modules/ethers/lib.esm/constants/index.d.ts","../node_modules/ethers/lib.esm/wallet/base-wallet.d.ts","../node_modules/ethers/lib.esm/wordlists/wordlist.d.ts","../node_modules/ethers/lib.esm/wordlists/wordlist-owl.d.ts","../node_modules/ethers/lib.esm/wordlists/lang-en.d.ts","../node_modules/ethers/lib.esm/wordlists/wordlist-owla.d.ts","../node_modules/ethers/lib.esm/wordlists/wordlists.d.ts","../node_modules/ethers/lib.esm/wordlists/index.d.ts","../node_modules/ethers/lib.esm/wallet/mnemonic.d.ts","../node_modules/ethers/lib.esm/wallet/hdwallet.d.ts","../node_modules/ethers/lib.esm/wallet/json-crowdsale.d.ts","../node_modules/ethers/lib.esm/wallet/json-keystore.d.ts","../node_modules/ethers/lib.esm/wallet/wallet.d.ts","../node_modules/ethers/lib.esm/wallet/index.d.ts","../node_modules/ethers/lib.esm/ethers.d.ts","../node_modules/ethers/lib.esm/index.d.ts","../node_modules/monads-io/either.d.ts","../src/util/EthereumAddress.ts","../src/types/stream.ts","../src/util/head.ts","../src/util/visibility.ts","../src/contracts-api/contractValues.ts","../src/contracts-api/action.ts","../node_modules/pg-types/index.d.ts","../node_modules/pg-protocol/dist/messages.d.ts","../node_modules/pg-protocol/dist/serializer.d.ts","../node_modules/pg-protocol/dist/parser.d.ts","../node_modules/pg-protocol/dist/index.d.ts","../node_modules/@types/pg/index.d.ts","../node_modules/@types/pg/lib/type-overrides.d.ts","../node_modules/@types/pg/index.d.mts","../src/contracts-api/composedAction.ts","../src/contracts-api/deployStream.ts","../src/contracts-api/deleteStream.ts","../src/contracts-api/primitiveAction.ts","../src/client/listStreams.ts","../src/types/transaction.ts","../src/client/getLastTransactions.ts","../src/client/client.ts","../src/client/browserClient.ts","../src/index.common.ts","../src/index.browser.ts","../src/client/nodeClient.ts","../src/index.node.ts","../src/index.ts","../node_modules/@vitest/pretty-format/dist/index.d.ts","../node_modules/@vitest/utils/dist/types.d.ts","../node_modules/@vitest/utils/dist/helpers.d.ts","../node_modules/tinyrainbow/dist/index-c1cfc5e9.d.ts","../node_modules/tinyrainbow/dist/node.d.ts","../node_modules/@vitest/utils/dist/index.d.ts","../node_modules/@vitest/runner/dist/tasks-3ZnPj1LR.d.ts","../node_modules/@vitest/utils/dist/types-Bxe-2Udy.d.ts","../node_modules/@vitest/utils/dist/diff.d.ts","../node_modules/@vitest/runner/dist/types.d.ts","../node_modules/@vitest/utils/dist/error.d.ts","../node_modules/@vitest/runner/dist/index.d.ts","../node_modules/vitest/dist/chunks/environment.LoooBwUu.d.ts","../node_modules/@types/estree/index.d.ts","../node_modules/rollup/dist/rollup.d.ts","../node_modules/rollup/dist/parseAst.d.ts","../node_modules/vite/types/hmrPayload.d.ts","../node_modules/vite/types/customEvent.d.ts","../node_modules/vite/types/hot.d.ts","../node_modules/vite/dist/node/types.d-aGj9QkWt.d.ts","../node_modules/vite/node_modules/esbuild/lib/main.d.ts","../node_modules/source-map-js/source-map.d.ts","../node_modules/postcss/lib/previous-map.d.ts","../node_modules/postcss/lib/input.d.ts","../node_modules/postcss/lib/css-syntax-error.d.ts","../node_modules/postcss/lib/declaration.d.ts","../node_modules/postcss/lib/root.d.ts","../node_modules/postcss/lib/warning.d.ts","../node_modules/postcss/lib/lazy-result.d.ts","../node_modules/postcss/lib/no-work-result.d.ts","../node_modules/postcss/lib/processor.d.ts","../node_modules/postcss/lib/result.d.ts","../node_modules/postcss/lib/document.d.ts","../node_modules/postcss/lib/rule.d.ts","../node_modules/postcss/lib/node.d.ts","../node_modules/postcss/lib/comment.d.ts","../node_modules/postcss/lib/container.d.ts","../node_modules/postcss/lib/at-rule.d.ts","../node_modules/postcss/lib/list.d.ts","../node_modules/postcss/lib/postcss.d.ts","../node_modules/postcss/lib/postcss.d.mts","../node_modules/vite/dist/node/runtime.d.ts","../node_modules/vite/types/importGlob.d.ts","../node_modules/vite/types/metadata.d.ts","../node_modules/vite/dist/node/index.d.ts","../node_modules/@vitest/snapshot/dist/environment-Ddx0EDtY.d.ts","../node_modules/@vitest/snapshot/dist/rawSnapshot-CPNkto81.d.ts","../node_modules/@vitest/snapshot/dist/index.d.ts","../node_modules/@vitest/snapshot/dist/environment.d.ts","../node_modules/vitest/dist/chunks/config.Cy0C388Z.d.ts","../node_modules/vite-node/dist/trace-mapping.d-DLVdEqOp.d.ts","../node_modules/vite-node/dist/index-z0R8hVRu.d.ts","../node_modules/vite-node/dist/index.d.ts","../node_modules/@vitest/utils/dist/source-map.d.ts","../node_modules/vite-node/dist/client.d.ts","../node_modules/vite-node/dist/server.d.ts","../node_modules/@vitest/runner/dist/utils.d.ts","../node_modules/tinybench/dist/index.d.ts","../node_modules/vitest/dist/chunks/benchmark.geERunq4.d.ts","../node_modules/@vitest/snapshot/dist/manager.d.ts","../node_modules/vitest/dist/chunks/reporters.nr4dxCkA.d.ts","../node_modules/vitest/dist/chunks/worker.tN5KGIih.d.ts","../node_modules/vitest/dist/chunks/worker.B9FxPCaC.d.ts","../node_modules/vitest/dist/chunks/vite.CzKp4x9w.d.ts","../node_modules/@vitest/expect/dist/chai.d.cts","../node_modules/@vitest/expect/dist/index.d.ts","../node_modules/@vitest/expect/index.d.ts","../node_modules/@vitest/spy/dist/index.d.ts","../node_modules/@vitest/mocker/dist/types-DZOqTgiN.d.ts","../node_modules/@vitest/mocker/dist/index.d.ts","../node_modules/vitest/dist/chunks/mocker.cRtM890J.d.ts","../node_modules/vitest/dist/chunks/suite.B2jumIFP.d.ts","../node_modules/expect-type/dist/utils.d.ts","../node_modules/expect-type/dist/overloads.d.ts","../node_modules/expect-type/dist/branding.d.ts","../node_modules/expect-type/dist/messages.d.ts","../node_modules/expect-type/dist/index.d.ts","../node_modules/vitest/dist/index.d.ts","../src/client/client.test.ts","../node_modules/vitest/importMeta.d.ts"],"fileIdsList":[[81,138,145,146],[80,81,83,85,89,90,91,138,147,148,149,150],[138],[80,86,87,88,90,138,149],[80,81,82,83,85,87,88,89,90,91,138,148,151,153,154],[80,81,87,88,89,90,138,155],[80,82,84,85,86,138],[80,85,86,138],[80,84,138],[80,82,83,85,89,91,138,148,149],[85,86,138],[80,84,85,86,138],[80,85,138],[80,82,83,85,138],[80,91,138],[80,88,90,91,138,152,155],[80,81,82,83,85,86,87,88,89,90,91,138,148,149,151,152,156,157,158],[84,138],[92,138],[95,138],[96,101,129,138],[97,108,109,116,126,137,138],[97,98,108,116,138],[99,138],[100,101,109,117,138],[101,126,134,138],[102,104,108,116,138],[103,138],[104,105,138],[108,138],[106,108,138],[108,109,110,126,137,138],[108,109,110,123,126,129,138],[138,142],[104,108,111,116,126,137,138],[108,109,111,112,116,126,134,137,138],[111,113,126,134,137,138],[92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144],[108,114,138],[115,137,138,142],[104,108,116,126,138],[117,138],[118,138],[95,119,138],[120,136,138,142],[121,138],[122,138],[108,123,124,138],[123,125,138,140],[96,108,126,127,128,129,138],[96,126,128,138],[126,127,138],[129,138],[130,138],[95,126,138],[108,132,133,138],[132,133,138],[101,116,126,134,138],[135,138],[116,136,138],[96,111,122,137,138],[101,138],[126,138,139],[115,138,140],[138,141],[96,101,108,110,119,126,137,138,140,142],[126,138,143],[138,290,291],[108,126,134,138,145,285,286,289,290],[138,290],[138,311,312,315],[138,372],[138,375],[138,312,313,315,316,317],[138,312],[138,312,313,315],[138,312,313],[138,352],[138,307,352,353],[138,307,352],[138,307,314],[138,308],[138,307,308,309,311],[138,307],[138,250,251,252],[138,250],[138,252,253,254,255,256],[138,250,251,252,253,255],[138,182,250,251],[138,182],[138,179,180,181],[138,258,259,260,261],[138,182,204,229,230,239,250,257],[138,182,229,230,231,239,250,257],[138,229,230,231,232],[138,230,239,257],[138,204,229,231,239,250,257],[138,183,184,185,186,187,188,189,190,191],[138,190,192,250],[138,175,182,192,198,213,233,239,250,257,262,269,275],[138,182,192,250],[138,207,208,209,210,211,212],[138,192],[138,192,250],[138,276],[138,182,202,203,204,205,250],[138,198,204,213,214],[138,204],[138,202,206,219],[138,204,206,250],[138,192,198],[138,199,201,202,203,204,205,206,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,234,235,236,237,238],[138,198,201,250],[138,200,204],[138,202,206,216,217,250],[138,202,217],[138,201,202,204,206,233],[138,202,206],[138,202,206,216,217,219,250],[116,138,145,202,217,218],[138,198,202,204,206,213,214,215,250],[138,202,204,206,217],[138,202,217,218],[138,182,192,198,199,202,203,250],[138,204,213,214,215],[138,182,198,199,204,213],[138,198],[138,192,193,194,195,196,197],[138,192,198,250],[138,177],[138,200,239],[138,176,177,178,193,200,240,241,242,243,244,245,246,247,248,249],[138,245],[138,244,246],[138,192,198,213,239],[138,192,239,250,263,269,270],[138,263,270,271,272,273,274],[138,250,269],[138,192,239,263,271],[138,264,265,266,267,268],[138,265],[138,264],[138,379,380],[138,379,380,381,382],[138,379,381],[138,379],[138,163,164],[138,162],[138,163,165],[138,168],[138,162,166,167,169,170,171],[138,164,165],[138,166],[138,172],[138,145,286,287,288],[138,145],[126,138,145,286],[138,343],[138,341,343],[138,332,340,341,342,344],[138,330],[138,333,338,343,346],[138,329,346],[138,333,334,337,338,339,346],[138,333,334,335,337,338,346],[138,330,331,332,333,334,338,339,340,342,343,344,346],[138,346],[138,328,330,331,332,333,334,335,337,338,339,340,341,342,343,344,345],[138,328,346],[138,333,335,336,338,339,346],[138,337,346],[138,338,339,343,346],[138,331,341],[138,321,350],[138,320,321],[138,310],[138,357,358],[138,357],[138,351,357,358,370],[108,109,111,112,113,116,126,134,137,138,143,145,321,322,323,324,325,326,327,347,348,349,350],[138,323,324,325,326],[138,323,324,325],[138,323],[138,324],[138,321],[138,318,363,364,384],[138,307,318,354,355,384],[138,376],[109,126,138,307,312,318,319,351,354,356,359,360,361,362,365,366,370,371,384],[138,318,363,364,365,384],[138,351,367],[138,142,368],[138,318,319,354,356,359,384],[109,126,138,142,307,312,315,318,319,351,354,355,356,359,360,361,362,363,364,365,366,367,368,369,370,371,373,374,376,377,378,383,384],[138,384],[80,138,159,300],[138,277,304,384],[80,81,86,90,91,138,148,155,159,174,279,280,283,284,293,294,295,296,297,299],[138,159,298,300],[82,138,159,174,279,280,300],[85,87,90,91,138,159,160,173,174,279,280,281,282,283],[90,91,138,159,160,174,279,280,284,292],[90,91,138,155,159,174,280],[90,91,138,155,159,174,283,292],[90,91,138,159,280,283,284],[138,301,302],[138,174,279,280,282,283,284,293,296,300],[138,302,304],[138,301,302,304],[138,174,279],[138,277,278],[138,161,173],[138,173]],"fileInfos":[{"version":"69684132aeb9b5642cbcd9e22dff7818ff0ee1aa831728af0ecf97d3364d5546","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"8fd575e12870e9944c7e1d62e1f5a73fcf23dd8d3a321f2a2c74c20d022283fe","impliedFormat":1},{"version":"8bf8b5e44e3c9c36f98e1007e8b7018c0f38d8adc07aecef42f5200114547c70","impliedFormat":1},{"version":"092c2bfe125ce69dbb1223c85d68d4d2397d7d8411867b5cc03cec902c233763","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"936e80ad36a2ee83fc3caf008e7c4c5afe45b3cf3d5c24408f039c1d47bdc1df","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"fef8cfad2e2dc5f5b3d97a6f4f2e92848eb1b88e897bb7318cef0e2820bceaab","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"b5ce7a470bc3628408429040c4e3a53a27755022a32fd05e2cb694e7015386c7","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"df83c2a6c73228b625b0beb6669c7ee2a09c914637e2d35170723ad49c0f5cd4","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"87dc0f382502f5bbce5129bdc0aea21e19a3abbc19259e0b43ae038a9fc4e326","affectsGlobalScope":true,"impliedFormat":1},{"version":"b1cb28af0c891c8c96b2d6b7be76bd394fddcfdb4709a20ba05a7c1605eea0f9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true,"impliedFormat":1},{"version":"56e4ed5aab5f5920980066a9409bfaf53e6d21d3f8d020c17e4de584d29600ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ece9f17b3866cc077099c73f4983bddbcb1dc7ddb943227f1ec070f529dedd1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a6282c8827e4b9a95f4bf4f5c205673ada31b982f50572d27103df8ceb8013c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1c9319a09485199c1f7b0498f2988d6d2249793ef67edda49d1e584746be9032","affectsGlobalScope":true,"impliedFormat":1},{"version":"e3a2a0cee0f03ffdde24d89660eba2685bfbdeae955a6c67e8c4c9fd28928eeb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"60037901da1a425516449b9a20073aa03386cce92f7a1fd902d7602be3a7c2e9","affectsGlobalScope":true,"impliedFormat":1},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true,"impliedFormat":1},{"version":"22adec94ef7047a6c9d1af3cb96be87a335908bf9ef386ae9fd50eeb37f44c47","affectsGlobalScope":true,"impliedFormat":1},{"version":"4245fee526a7d1754529d19227ecbf3be066ff79ebb6a380d78e41648f2f224d","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"f4305022b9b58daf6eac0a1b8f2568ddcd96e958afcfc3b9530e90460b3f6bf2","impliedFormat":1},{"version":"5b13031422671cc22ea7b36fcf708776c9f3d8b3233c6df3a0ab759621729f54","impliedFormat":1},{"version":"3067543c7ce1d809da78a425b3b7a874147432841477434a508b2ae38f3febe8","impliedFormat":1},{"version":"a47bcbc4f32cd38ddefd0d31c0314d0a5656dfba4ddd9431f825e7193966aacd","impliedFormat":1},{"version":"c226c777447b786754a7c4d5cf0c497a514b66141bdc98ae90b58c6f5f636e55","impliedFormat":1},{"version":"4bf65ba8b5bd21d54f8d7017968c4dc7f8b500c87f9944148ea9eaf74d13721d","impliedFormat":1},{"version":"8dc867a8ce7fb326d8f9586e67e35a862cc11908e902530f7ebb62e57976ad86","impliedFormat":1},{"version":"8f3282db99633148e96329c63c6145722967245308e4ca287df3c3b7d5d56026","impliedFormat":1},{"version":"c0b0ba5f9772afc819467c32c3f46d2eda0b6c4592d6103412cb26d35e82e993","impliedFormat":1},{"version":"e334e89474ef50a49eb4b11efd6df3b34878c37ce60111519e0246292d78e247","impliedFormat":1},{"version":"412c99d8217c9866a720ec75b2fe0e3ef615bc61f170f48508e4e401bae561ff","impliedFormat":1},{"version":"0d0ae59d75bd2d0f74f710a6d08601cb9daa1f0b3a71af77324e7441ba185d4c","impliedFormat":1},{"version":"9004b6757fde33f153c3a7694c15b017531a0261fafb99e0542a8a6f61be1708","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"32465ea19404cb188e84cf08c6b1f6b12d739140436402cdbc184a3fd20a7d81","affectsGlobalScope":true,"impliedFormat":1},{"version":"39b1a50d543770780b0409a4caacb87f3ff1d510aedfeb7dc06ed44188256f89","impliedFormat":1},{"version":"da5afd11bfce6e59d63f28fcf1ce25cd099188de33c08f9fad297186713fb17c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1f2d8573577ad731813e4358b913b667923a94e6456f645918fba11134040d13","impliedFormat":1},{"version":"fe39ceafa361b6d339b518936275eff89a77e7dfe92f2efa5fb97abf9a95ca49","impliedFormat":1},{"version":"815c751d4afee4651d61edf6204187372a55ca8e0126a906986b4859ec51f192","affectsGlobalScope":true,"impliedFormat":1},{"version":"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","impliedFormat":1},{"version":"8a67dc9edddace374b1a96852ab5bbb87b631d439a928e6df326587d1f4fe9f0","impliedFormat":1},{"version":"fbcf2c3cde728761b05dbf8e7a9b8be1f5514dc324c6f83b87ba5c0668119b98","impliedFormat":1},{"version":"7eb0662b995994db248290a0f0a1d8ed685991a162ff9eb4dee36f099cccd0d9","impliedFormat":1},{"version":"16bbaee4dd96ec8b67026329a4f5fdef6313e42a5c305ddeb498c3d65fb557b8","impliedFormat":1},{"version":"37a36483218b24a50be2548a71557603e01ce38154c9f3f635c6c8275abd9fb1","impliedFormat":1},{"version":"c6cf9428f45f3d78b07df7d7aab1569994c177d36549e3a962f952d89f026bc4","impliedFormat":1},{"version":"2c71199d1fc83bf17636ad5bf63a945633406b7b94887612bba4ef027c662b3e","affectsGlobalScope":true,"impliedFormat":1},{"version":"d30c9292ff36b2af594109d4413f34b952b1258c50b0361a3db1f7d94ec1e193","affectsGlobalScope":true,"impliedFormat":1},{"version":"d617229425b25df2046a9c1e321dd1b50825abc8e3b38048453345483f8601e1","impliedFormat":1},{"version":"badd4f5fe0cca51915ef597852d07598ca490f6d1d9d68d505a159f18cde792d","impliedFormat":1},{"version":"2d510ba9ab3fd294bc60f6a6dea2c8eb5942676bce2916ea72b52b975e788abb","impliedFormat":1},{"version":"e6d2e297c73016fc98095238b25428591d129481c50eb1b6e575d35f3f8c621e","impliedFormat":1},{"version":"e3baa0c5780c2c805ec33a999722a2f740b572eb3746fd0a5f93a0a5c3dbf7f6","impliedFormat":1},{"version":"7e5307e29dfd5d5b827203b85cb665d8d5bf932a6c6f393457da8e9ed1906761","impliedFormat":1},{"version":"e492737de7f023b47ff14ca54b9635ba3dcd64816ed3316c9f3a784cf5897173","affectsGlobalScope":true,"impliedFormat":1},{"version":"40798238bc2e17ee787a815dbce4f2c89c161e5ad2fde062fb50454c093fa433","impliedFormat":1},{"version":"30b15efd2b52c7e5f0f7c1e360afc43f487a2cffad5c01756f06eb323eee3efd","impliedFormat":1},{"version":"323506ce173f7f865f42f493885ee3dacd18db6359ea1141d57676d3781ce10c","impliedFormat":1},{"version":"e7391fb34deecd321ae15af659cbfb0b9abc995c5ed4b3d703ba768e44b89670","affectsGlobalScope":true,"impliedFormat":1},{"version":"0900d10c17bae29648b266c0ae7cef0c95ebb2a1d81541b833833ed0996ac85a","affectsGlobalScope":true,"impliedFormat":1},{"version":"58520d6ae3a339cd22ffc528b50b21e4e8f5247a87913eb1c697c1af62eb0395","impliedFormat":1},{"version":"186614c0f9ca0ec3cfa988f1dc01c6f392a798710072ff4bdf20ce56e09a6dfd","impliedFormat":1},{"version":"2de7a21c92226fb8abbeed7a0a9bd8aa6d37e4c68a8c7ff7938c644267e9fcc1","impliedFormat":1},{"version":"6d6070c5c81ba0bfe58988c69e3ba3149fc86421fd383f253aeb071cbf29cd41","impliedFormat":1},{"version":"48dab0d6e633b8052e7eaa0efb0bb3d58a733777b248765eafcb0b0349439834","impliedFormat":1},{"version":"6e4b2642721462bf62d19593770659f268a6ca1e9fd15543747efb3ac471cee3","impliedFormat":1},{"version":"269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","impliedFormat":1},{"version":"8258e69a3b0de494ea55eeea7a4d3216ac112c12006c74dfd381c0d5e42a2607","impliedFormat":1},{"version":"cdaaf046791d7d588f28f32197c5d6acc43343e62540a67eed194c9c20535fdc","impliedFormat":1},{"version":"4b1ff655bd8edd879dd4f04f15338ce0109f58ccb424165d44fa07e7ea39c4bf","impliedFormat":1},{"version":"6fa3d3f427475a5d21fed826d6457e7f9ee3a0abeb3124fc41f385f112368d2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"b85e57e102a1df14980b46d745c9fe8e16a9b0a69a98fb1a2c558c9137ab30d6","affectsGlobalScope":true,"impliedFormat":1},{"version":"4e228e78c1e9b0a75c70588d59288f63a6258e8b1fe4a67b0c53fe03461421d9","impliedFormat":1},{"version":"e5ce801ce5e85d7281807d8a65a21ee9767c122c87da262891582b4afead5ec0","impliedFormat":1},{"version":"76a89af04f2ba1807309320dab5169c0d1243b80738b4a2005989e40a136733e","impliedFormat":1},{"version":"c045b664abf3fc2a4750fa96117ab2735e4ed45ddd571b2a6a91b9917e231a02","impliedFormat":1},{"version":"057d7f56aacd575a6240838d2684d34a340acde815f84190ea5e9afd611aeee6","affectsGlobalScope":true,"impliedFormat":1},{"version":"40ed27386f21a739bd0d2e2cfed563760588f2aeaa7ad149c1bf1454a7ec743a","affectsGlobalScope":true,"impliedFormat":1},{"version":"d1ef1d8516286380fd0a6f498f1650d374a8cb5f03d91633b6124e4fb8fb131d","impliedFormat":1},{"version":"6244a29671c12a54fc5b1393dde60bac655bd778d84758a4db847f684d4da3a5","impliedFormat":1},{"version":"8bc733ffd630d49d495663bfecf590281c8f5412b33657430ab471b558206705","impliedFormat":1},{"version":"171c1840775746917e7b813c9df0fc0b84876f96623a6cfef3b3de7ea816b8c5","affectsGlobalScope":true,"impliedFormat":1},{"version":"f2b9440f98d6f94c8105883a2b65aee2fce0248f71f41beafd0a80636f3a565d","impliedFormat":1},{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true,"impliedFormat":1},{"version":"872201e32a629152e8bc7118e8977ac37a1a62ab6756c2ac3e6b53859f0a8fa1","impliedFormat":1},{"version":"d88dc05fd345b7a4e1816bbfd2dd087eefa9b9e36096818c2348f5b246971125","impliedFormat":1},{"version":"5160b723c0760daa1de0ead3bc12f9a5a186654a120146fd158e4bcffdff7fff","impliedFormat":1},{"version":"ad10c3ee8fb00beacd77766ef76ed7d38a33005cd14d686c205812b43e988d68","impliedFormat":1},{"version":"c77e98f9940135457b5a12081418c52b47e0715b2abfb39661416e02c4c230b7","impliedFormat":1},{"version":"14505042d1ce009a0ff30c82405478e47dfbaf8fdfb439ffebf0192ae8fb6806","impliedFormat":1},{"version":"1ead640861cb88cda68781bb48857561ccf3dc29c1d910ddfd7210a64a59a8d6","impliedFormat":1},{"version":"06a9c1725ac0d79f625c185ea35a4283f37b138d9d4b7637962b4e5aa4f84196","impliedFormat":1},{"version":"44fb4b41f9891fd3b88e75aa31c766da599ec87e4c47385392fdf108780bcd67","impliedFormat":1},{"version":"bc61e949f7eb6ce4d266be816d6b8227483a0c01b32ca5918006d87d6701b0ad","impliedFormat":1},{"version":"2e97cb2213a4bb8bbbc4f78ece4304d56cf4c4993eca8b844b4fea5f2fefa034","impliedFormat":1},{"version":"cd9d72081d4fbbeb75316681280cd5a730b3085c647b7095b13a8b41a99ab783","impliedFormat":1},{"version":"a0a2a4807d5a5293f6a8f30583240e9a5f4b0dc883a9db96d6d5c8feeb5ce4ac","impliedFormat":1},{"version":"f9380932ce1ad0107c2d53f5d424cdbb0377d3784c9458c3f4c3bff490890d80","impliedFormat":1},{"version":"e5b5adbb04e537ae4271ed384f77ae04c1cb4898b4c94f83c6b24b2c111a0a16","impliedFormat":1},{"version":"1327ebffd1c29b5973c7d76db45d0fce2fd3328ca68d737638b0deaa1fd11e7a","signature":"30450bb3a48f42ca7109fa47055b302d6777657c54db7a5346983900ff75ce97"},{"version":"1549eea3c3193d5efed4ee6861c68911c086bc42f6d1807bb5802c0e219abfc8","impliedFormat":99},{"version":"b506aaed3a8eb1ea7a2892c15ca062693649678bf275ed3b89847702fdeb422d","impliedFormat":1},{"version":"2749e958351a656a6c78798dbd0ef31c1fc50df716bdbdf4ee9d32150a6064bd","impliedFormat":1},{"version":"2d1bd6cb2c81efa4fde6b3e7c22a39073cc6511959b420a95d48fe31e0a29e85","impliedFormat":1},{"version":"9c613258083de5cf38349116028431ec05519134725637ebf9a618a32989f107","impliedFormat":1},{"version":"368349832ed7ddaea6a48533a605606b5dc55f1f1f3ec5e11e056f24f460c6d5","impliedFormat":1},{"version":"dcaa695f7d4f602be46e225c680f89b33f2cbc42a627bf4fae4acc942c9a7d00","impliedFormat":1},{"version":"3d8a6092720343f460c0ed8dd91401337ef48abcfc8b4617c130937ccce8e9e4","impliedFormat":1},{"version":"0437c929327c1eb0651a8c7bd9ecd8c971f8ca94f12fe6038627c5232e1de575","impliedFormat":1},{"version":"dcb0c0600cce0b6a40ef160f1d963aac1041d22f9359995fad840d7c82ff3736","impliedFormat":1},{"version":"5096f4cf6f96c3bb77bd63ce62f31cea35e63e09539d522062f3eff9e699e153","impliedFormat":1},{"version":"a7dd9317fd00d666dfa14e6fd3c613b09a6d8689c277f5d989318985270aca14","impliedFormat":1},{"version":"01979b1a1e352b2349793ce0bad475ce2fea5a7c81d21b0caa36ed3745b428f1","impliedFormat":1},{"version":"17b9272b084dc20020ca084c895afe5b203d17f532b22609ece0b87e0aaf0012","signature":"d184d2d4ef321978fa5320d94a4193fdcae49e0ca32c08ba54a5cb6b0368b035"},{"version":"cbd8f7cbc0832353a1db0c80ffe50f4d623bcf992faac71b4aef9e0aa6f4f33e","impliedFormat":99},{"version":"643b5be3fb728581cdb973f3937606d4925a5270d367a38366e4ddc6b30ba688","impliedFormat":99},{"version":"f7b9aaeace9a3837c47fad74de94ba117751951904a6cb6f6a2340ca3a5052d2","impliedFormat":99},{"version":"b59a8f409202638d6530f1e9746035717925f196f8350ef188535d6b6f07ac30","impliedFormat":99},{"version":"10752162e9a90e7f4e6f92d096706911e209f5e6026bb0fe788b9979bf0c807b","impliedFormat":99},{"version":"91010341cfcb3809686aefe12ceaa794087fcd0c7d4d72fc81d567535c51f7b9","impliedFormat":99},{"version":"a5fa720bdcd335d6f01999c7f4c93fb00447782db3c2fad005cc775b1b37b684","impliedFormat":99},{"version":"c8657b2bf39dbb8bbe8223ca66b76e33c83a649c7655fd7042b50b50cf805c96","impliedFormat":99},{"version":"18282a2d197d5d3b187d6cfe784b0bfeb36dc3caed79d24705c284506c6a7937","impliedFormat":99},{"version":"bc7f372120474ef5e195f4c5627aa9136af9dfc52c3e81f5404641f3eb921b20","impliedFormat":99},{"version":"c897edb7e0074c2cb1a118ad1f144d4095a76e13023c1c9d31499a97f0943c6d","impliedFormat":99},{"version":"5123f400963c1ae260ba78bd27826dd5ada91cc3df088a913fb709906c2f0fed","impliedFormat":99},{"version":"f6c69d4211c1c0dc144101b7d564eec8992315a5b652108ab44e617fdfb64a9f","impliedFormat":99},{"version":"3a0b914cd5a33a695925999bc0e20988f625ff92224224a60356531cc248324b","impliedFormat":99},{"version":"3b9ef4448417e777778007a2abbfb171fbb400c4012560331330c89a8fd08599","impliedFormat":99},{"version":"e75b35bbd7d93433f58e2bc2c40b5054f8c33197509b61b2ba923e7b84b446d3","impliedFormat":99},{"version":"80ae4448e40828f253d49dd0cba14ddaa948c4988d54d6bbd558015c4727f1f7","impliedFormat":99},{"version":"36ccd9bc1c33bf3cce297133d37acfc376d89ea0aff3111cf1792498ae5732d4","impliedFormat":99},{"version":"66ef9bd718776792705d01be029559b4f13c7978727dc364318fde5645d26abc","impliedFormat":99},{"version":"a5bb15e8903456dedd2a0c6c7f29b520b75a02fc44b36248fbac98e8b3106f2e","impliedFormat":99},{"version":"7087a77f8804d330429778346f2adf8418a4641b159f621938604aa20386887a","impliedFormat":99},{"version":"6d2e4114ccd05fb0cd657cfb73419eeb7e1464446aabfe4e652d4ad460c1fd1a","impliedFormat":99},{"version":"a52173b00ca45c107162f9f5501af38362ef8c587e76e5813f1aeb1f54772aec","impliedFormat":99},{"version":"8478f046870fe3053785d1fdb8fc3d4972437fbb230771841eb3945edda1cdce","impliedFormat":99},{"version":"8827ca3cd0a35d4a2da2b460620586a68dc0681b19f08559bc382f453ae0a915","impliedFormat":99},{"version":"5c56eea87bcede67b8df6a08185aaa023080fe74f21e7d262e5e0c5885ea6747","impliedFormat":99},{"version":"2a6140dea5f4014fbf2c301bcefcac865d9b5354ccc09865b309ec25b170eb24","impliedFormat":99},{"version":"62fbeac38ecc6d7b5ffe8b9c10c60a519963c8bc5a06d7260446a45fe920c01f","impliedFormat":99},{"version":"782f6c7ba1fa143a493e014cc02186c0cf19ce12189bcba7745c614e17e11a38","impliedFormat":99},{"version":"ba28b11eba525914120dda140fc01e3db951591724287eef1a6d061ee0a13ea0","impliedFormat":99},{"version":"6cdb8c1473687522f8ef65e1620bb8d703a02f4c570c662bd99ebf442ec9c3ff","impliedFormat":99},{"version":"799e4c2b1aae2c8531a20544168c528c7994f13bbce20f4813e30cde1ca72cb9","impliedFormat":99},{"version":"804a7dbd4c64f201d927b23b8563affa0325ec4bd3eeab339933cc85fcbbe4c1","impliedFormat":99},{"version":"c0a7ac0e0b21d67124311e0a70138df950cfa22360ae582c5d7b95a9a31f3436","impliedFormat":99},{"version":"c39a02bcdde4e5cf742febb47995c209f651249aa3f339d8981b47eb157dbc7f","impliedFormat":99},{"version":"3b63f1706adba31dd86669c3745ce127e1d80b83b1376942a5ae3653089b526f","impliedFormat":99},{"version":"d93c86ac706e8a3eb5c4fd2c3965d793c192438b44b21f94a422029d037113cd","impliedFormat":99},{"version":"c775b9469b2cbb895386691568a08c5f07e011d79531c79cb65f89355d324339","impliedFormat":99},{"version":"f8b830bc7cf2ebcadb5381cb0965e9e2e5e1006a96d5569729fc8eae99f1e02b","impliedFormat":99},{"version":"6465f2a53c52cb1cf228a7eeab54e3380b8971fed677deb08fa082e72854e24c","impliedFormat":99},{"version":"ea19638a70714d118d84c50b79220be781a8a95c62b79e1b695f6ea3c8f9306e","impliedFormat":99},{"version":"74965fc49475caca96b090c472f2c3e2085e3be05ce34639e9aabeccd5fb71aa","impliedFormat":99},{"version":"9640153ef1838657c1de17d486d9755fb714407156ec0be12acd132db4732c7f","impliedFormat":99},{"version":"b21157929842b9593200c73299fffde810be1b6c2554437e319db0025ecd53ae","impliedFormat":99},{"version":"cb929086d0d062bb948a1726e87c604db6387d885a846838a4da40e006c51deb","impliedFormat":99},{"version":"cb2e0b454aed00d0109fa243d681650916750a960736755edb673d4c2fc495dc","impliedFormat":99},{"version":"2a5c6f30ace32a85b24dec0f03525ed0a40190104be5876bd9107f92cca0166b","impliedFormat":99},{"version":"4d752856defdcbb39e2915429f85a92aac94406eb1bdef2855b908dde5bc013b","impliedFormat":99},{"version":"515caaccdd09e635befbfd45f023015a42d375e0536c9786412cf4dab847ff65","impliedFormat":99},{"version":"6cde23545d1e8d78b222c594e0a66de065311e0c6b0e3989feffb5c7f6b66560","impliedFormat":99},{"version":"a025111523c3c2c24484c1af1bfcab340490817de7e4b247b700ca7ee203a5cc","impliedFormat":99},{"version":"d7781fc81737645eeef3b7107c6796f95fb4791cb1a908b1f0254117b2536477","impliedFormat":99},{"version":"156d4829532c7d26f824ab7bb26b1eced1bfaf5711d426e95357004c43f40d98","impliedFormat":99},{"version":"2d9a0ac7d80da8b003ac92445f47891c3acdca1517fb0a0ca3006e2d71e1d2ab","impliedFormat":99},{"version":"5c62b984997b2e15f2d2ae0f0202121738db19901dc2bad5fe6a7a2d6af871d3","impliedFormat":99},{"version":"8c04e9d03324f465d5fb381371c06799cd06234f2aa83bdf4318cb9728132b80","impliedFormat":99},{"version":"616102e59c37f0f84d209b865f84fb186a29bb0bf112bd975be097113f854b89","impliedFormat":99},{"version":"a14590df3ef464f8a9dff9514df70c7aeff05c999f447e761ec13b8158a6cab0","impliedFormat":99},{"version":"98cbb6e3aa1b6610e7234ff6afa723b9cb52caf19ecb67cf1d96b04aa72b8f88","impliedFormat":99},{"version":"9c8c50b4d0c83256193970e68a1c495b09e92ef1b8e48c38e1e9cb05122014b9","impliedFormat":99},{"version":"f9575d2a80566ba8d17d2260526ffb81907386aa7cb21508888fb2e967911dca","impliedFormat":99},{"version":"d388e40b946609b83a5df1a1d12a0ea77168ee2407f28eac6958d6638a3fbf69","impliedFormat":99},{"version":"83e8adc1946281f15747109c98bd6af5ce3853f3693263419707510b704b70e5","impliedFormat":99},{"version":"64fb32566d6ac361bdff2fafb937b67ee96b0f4b0ea835c2164620ec2ad8ea09","impliedFormat":99},{"version":"678b6be72cdcec74f602d366fef05ba709aa60816d4abf2a4faff64a68cdfc1f","impliedFormat":99},{"version":"b0b8ac2d71ea2251f4f513c7d644db07a46446a6e4bccbcc23ccbefbe9ac3ac4","impliedFormat":99},{"version":"c7cae4f5befd90da675906c456cc35244edad7cdcedb51fb8f94d576f2b52e5e","impliedFormat":99},{"version":"a00e19c6ad43bfc4daf759038e309b797b59cc532d68f4556083022ed1d4b134","impliedFormat":99},{"version":"c4e720b6dd8053526bedd57807a9914e45bb2ffbda801145a086b93cf1cda6d5","impliedFormat":99},{"version":"1dc465a4431aaa00bb80452b26aa7e7ec33aca666e4256c271bdf04f18fef54d","impliedFormat":99},{"version":"ea5916d20a81cc0fd49bd783fce0837b690f2d39e456d979bc4b912cb89ceefc","impliedFormat":99},{"version":"dccc0a4cbe7cbabcf629ef783d3226ed28649f1215eb577a2e2cdb1129347a37","impliedFormat":99},{"version":"add54a06a7a910f6ed0195282144d58f24e375b7d16bd4a5c5b9d91bb4b5e184","impliedFormat":99},{"version":"dc03aa8332b32c2d7cd0f4f72b4a8cc61bbc2806eb18fa841ec3de56b8e806a6","impliedFormat":99},{"version":"dd56e1c623e5b14260b6d817f4f26d6cc63c77f5bf55321306d118617fc20c7d","impliedFormat":99},{"version":"d4cb93b91ab77070c8baebdcc5c951954ee219900795cc7e34aaef6be0081a2b","impliedFormat":99},{"version":"93ff68f1f2b1be14e488d472820e2cbc3c1744e4b55aea9a12288f612e8cf56f","impliedFormat":99},{"version":"7e4d2c8b02fc2529a60bd495322092644b5cf2f391b10bea4bcae8efea227c32","impliedFormat":99},{"version":"219b5d42961185874397f62f12d64e74e0825d260054984e0248010de538015e","impliedFormat":99},{"version":"27b5570022c0f24a093c0718de58a4f2d2b4124df0f7ff9b9786874c84c8af27","impliedFormat":99},{"version":"ad37fb454bd70dd332bb8b5047fbc0cf00ddfc48972d969a8530ab44998b7e70","impliedFormat":99},{"version":"265bdbd67761e88d8be1d91a21ec53bb8915e769a71bdc3f0e1e48fdda0a4c6e","impliedFormat":99},{"version":"817e174de32fb2f0d55d835c184c1248877c639885fcaed66bab759ff8be1b59","impliedFormat":99},{"version":"ea76d1231ea876a2a352eae09d90ae6ef20126052e0adfdc691437d624ebcc47","impliedFormat":99},{"version":"0961671995b68a718e081179cfa23c89410b97031880cf0fea203f702193385a","impliedFormat":99},{"version":"b6592f9a1102da83ba752d678e5e94af9443bf1ab70666f2f756ba1a85b8adfc","impliedFormat":99},{"version":"d1c933acc6c2847d38c7a29c3d154ef5a6b51e2ad728f682e47717524683e563","impliedFormat":99},{"version":"44380b6f061bbb7d7b81b3d9973c9a18b176e456eee4316a56c9e2932df77bfd","impliedFormat":99},{"version":"e558775330d82e3a2e16a2442c1332572f3cb269a545de3952ed226473e4ccdd","impliedFormat":99},{"version":"32d5ec19fbe22a610e11aa721d9947c1249e59a5b8e68f864d954f68795982d1","impliedFormat":99},{"version":"e1fa85a34e9710a03fb4e68a8b318b50cde979325a874a311c0429be2e9a6380","impliedFormat":99},{"version":"998c9ae7ae683f16a68d9204b8dea071377d886ed649f7da777dce408ede67b7","impliedFormat":99},{"version":"e02fe9a276b87b4c10c56cbcee81f8c6437d21a0a68eeb705e23105c3620677e","impliedFormat":99},{"version":"d56bc539844eceaaae11714c214add744ace0227da77c91e62d8c3cd0ee78964","impliedFormat":99},{"version":"9199f6ead2ae205b4a0efe8b427706b7b9856f2fb51587ca25e9161cfee2b163","impliedFormat":99},{"version":"120a62730ef5b8b61b4a82005c421506d0bf4f5a2fbe84b88149c79c894900da","impliedFormat":99},{"version":"3ca2a4b5f57c480c798f8310b3d3c10dc24fa73d5618889a27835eb80f783fa3","impliedFormat":99},{"version":"faf92d569360b567c70c11b08aadd997fb2ca1847687f370eaea8eda19f807f2","impliedFormat":99},{"version":"38e878406954753d87c2b0db8b5146da5abb86c44139526cba2046cc70fbd1d4","impliedFormat":99},{"version":"c500d215a2e0490d77f0f926507adac154bfc5cfcb855ffdbe2c600e67fbf36f","impliedFormat":99},{"version":"6a22003e006988f31654d8bf884208ff753d64bcb980a89e4c5eb933bf446d09","impliedFormat":99},{"version":"3a8493e70ee5fc14e8e9a028e5e3b1df79acbd4bc4ded50725d2ad4927a9c101","impliedFormat":99},{"version":"7f02dfc714a76c78325cdfbc138b57531103490dc9d88affdb3f4a54fdd879a0","impliedFormat":99},{"version":"d3fcf2df688ce5c6d8b90d8c9057b505042342ce97e2dccd26f02a185a7bb8d3","impliedFormat":1},{"version":"4f2fd8612d69a167ff721a17766c06b69823bed7da629a4c2a177e230c4f6b30","signature":"05f0c8697e687c5b3e96af1382b1d608e108ffb0e125ec1a9179cf95e02a44e2"},{"version":"294f3068c86cd197964cae1bc1bbaee41592a2f5301012c41a5fc46a7932e9ab","signature":"9a5aa896785578a0bcfa6347e7fa6b881143728b4a62968f98f954dd34b91d57"},{"version":"9a20dddd78d81631f2fcedd841bbae67e3ab12173a4df0fa900bac9f563a8976","signature":"a84fd056d513809fd4ee2e1e86db3416ad8a3bda66b1799c3b1ef79021f40106"},{"version":"97d5a77f9d052422b6aeaaed289fb4d6cab645e0a57ff1057f6edd84438c0e63","signature":"07cb0985f6d65d8370ed158dfd67afc75c3c3f97fd7f0bb91cef4dfa28949b8f"},{"version":"5807fe77f8264c43e5c9ad7c00043a490afb82d540e99ac04062589d17a2b47f","signature":"4ece736eebbeb0689b6e12ab7230ec54d089cc47d6df225b3dcb52d0d692c938"},{"version":"59e67b2173b88a2ed17ace50668ee2e37a124b24eb25d611e6d78f116b944383","signature":"60872418c621d59d80372c45297deecac1326ff093e6cb01ecd0739b3072adca"},{"version":"a589f9f052276a3fc00b75e62f73b93ea568fce3e935b86ed7052945f99d9dc2","impliedFormat":1},{"version":"17230b34bb564a3a2e36f9d3985372ccab4ad1722df2c43f7c5c2b553f68e5db","impliedFormat":1},{"version":"6e5c9272f6b3783be7bdddaf207cccdb8e033be3d14c5beacc03ae9d27d50929","impliedFormat":1},{"version":"9b4f7ff9681448c72abe38ea8eefd7ffe0c3aefe495137f02012a08801373f71","impliedFormat":1},{"version":"0dfe35191a04e8f9dc7caeb9f52f2ee07402736563d12cbccd15fb5f31ac877f","impliedFormat":1},{"version":"9179eed9ce81b472f39b2dec3a18c73e96b9e35de96df441a0660b134e1e96a4","impliedFormat":1},{"version":"53e8c672c4a6af14dd4c08082e6e30d3c3b78ec0d3f9cd34f4177be4696070da","impliedFormat":1},{"version":"eed32d49218bb0bbffa7d42a0e549c5b755b739897e81b83b662fe6b1d82f4fc","impliedFormat":99},{"version":"ec41840406c49dc3a8ff85f4ea3af3045b559fe4359c1440091ffd4c6e68aaab","signature":"0811c36e5d444c0b11a69e55bef298d84d623ce245307105f53a7f0a1174c07a"},{"version":"355f7a2997d748022c256c6ee28da44f272e4a1c15501b0b0a6f01f0793bfb8a","signature":"099ec59bdf7134704a6798a507f38244fb86e8d52dc5534b765d5b8bfa57beb0"},{"version":"0647c2187081420bee6825d45375dc6c363fc4448c23c21e8bf2d35843b7d8de","signature":"cb7e96bd5f6aae5194aeaef329b2fe5eb343924b9e38fd9a75c84c24d8cff76c"},{"version":"da257800e83bfa501a5e7024df2f173cc9710be871956ddc1d3f3e721b13a5d2","signature":"353268d44b6cd9dd92129e4ecf59d3d87e2b4e471eef3ab31be5af9d038e1e25"},{"version":"cc8e073ce1579fd8612d0d2ceef1872f6c2d0e60b44e5cfcc082d8c23c351550","signature":"8e3ec104b010eb9a6d8b81d33fab8dafa1b43781c1994f028d326aab5f13f797"},{"version":"9d23803d8a7064912b7ae4162798cda5fa8cfecb30df7b1d87d67769a6e90202","signature":"ddf7b383a1eb8bec010984766547ab5ee73645429aacf3689eddad0d28c4858d"},{"version":"019041d6c503f4a841ddca67e37d8d8759de23afa2321192d5edb934fe02e9df","signature":"a73ca21c8f9fdbdf106a52771b398709b546acbf5f50cdd6d81f178d05fd75af"},{"version":"089a372c6f8761f4459d913dbc2a43417d6b5433a8bc40863da53f5777856224","signature":"b471e28d724f4004d6e631ee8a35d085ad23954f3af105514d0af66a0b6a138a"},{"version":"8ad3b653d32b9ef5f77178e7775483686df96ec65f7bb385e22ccdd56419e0fe","signature":"4dc3e9fdcf7b66db157e06d017fabb30ef5628b319e03ff88f6a6f9262d34ed1"},{"version":"0d6997a2f34ff2f09b1a51bf72bc53fc8282c7cfad1c2cd2f8dd0111322b368d","signature":"62c5525021a8f469828c8915695a5aa2b162611b296a015b3615fcddd739652f"},{"version":"0380a829a4a1605bb991345f997ba8404b711d82f68656d5c3c9ed222226c4af","signature":"09f5168266ac7a8bc42838d2c7b04ad7a71e717138ad883741df2f13a96ce014"},{"version":"773d27d11120c838c71fa824abe6fdb0a3fb91a46bbb3cb0b4e249a17e6bf043","signature":"1a5b71ff5a81d1cafa5aefa8070c3ebc2cd325aa400d517391eda04c7270cd97"},{"version":"35761b03509b5b775989fb31c4cefd90b867419c81bd350705e96573d3a7c8c5","signature":"f0c118a08dfb999e80b97f92ce84d69416d47058b677b8942c159cee71e733aa"},{"version":"8afc465d7a9d184d166145c0c474cf78ba96b7f8809918f95d51ba6dfbada23a","signature":"edd7225413390da4626b032e5e6bebc301f7e900bac64f352c9a4587cc0c736b"},{"version":"d2e64a6f25013b099e83bfadb2c388d7bef3e8f3fdb25528225bbc841e7e7e3a","impliedFormat":99},{"version":"369ba5259e66ca8c7d35e3234f7a2a0863a770fdb8266505747c65cf346a0804","impliedFormat":99},{"version":"64d984f55025daf604f670b7dfd090ea765f2098aee871174ef2ee3e94479098","impliedFormat":99},{"version":"f147b6710441cf3ec3234adf63b0593ce5e8c9b692959d21d3babc8454bcf743","impliedFormat":99},{"version":"e96d5373a66c2cfbbc7e6642cf274055aa2c7ff6bd37be7480c66faf9804db6d","impliedFormat":99},{"version":"02bcdd7a76c5c1c485cbf05626d24c86ac8f9a1d8dc31f8924108bbaa4cf3ba9","impliedFormat":99},{"version":"c874ab6feac6e0fdf9142727c9a876065777a5392f14b0bbcf869b1e69eb46b5","impliedFormat":99},{"version":"7c553fc9e34773ddbaabe0fa1367d4b109101d0868a008f11042bee24b5a925d","impliedFormat":99},{"version":"9962ce696fbdce2421d883ca4b062a54f982496625437ae4d3633376c5ad4a80","impliedFormat":99},{"version":"e3ea467c4a7f743f3548c9ed61300591965b1d12c08c8bb9aaff8a002ba95fce","impliedFormat":99},{"version":"4c17183a07a63bea2653fbfc0a942b027160ddbee823024789a415f9589de327","impliedFormat":99},{"version":"3e2203c892297ea44b87470fde51b3d48cfe3eeb6901995de429539462894464","impliedFormat":99},{"version":"c84bf7a4abc5e7fdf45971a71b25b0e0d34ccd5e720a866dd78bb71d60d41a3f","impliedFormat":99},{"version":"e2b48abff5a8adc6bb1cd13a702b9ef05e6045a98e7cfa95a8779b53b6d0e69d","impliedFormat":1},{"version":"a02d26c056491b1ddfa53a671ad60ce852969b369f0e71993dbac8ddcf0d038b","affectsGlobalScope":true,"impliedFormat":1},{"version":"a660aa95476042d3fdcc1343cf6bb8fdf24772d31712b1db321c5a4dcc325434","impliedFormat":1},{"version":"282f98006ed7fa9bb2cd9bdbe2524595cfc4bcd58a0bb3232e4519f2138df811","impliedFormat":1},{"version":"6222e987b58abfe92597e1273ad7233626285bc2d78409d4a7b113d81a83496b","impliedFormat":1},{"version":"cbe726263ae9a7bf32352380f7e8ab66ee25b3457137e316929269c19e18a2be","impliedFormat":1},{"version":"8b96046bf5fb0a815cba6b0880d9f97b7f3a93cf187e8dcfe8e2792e97f38f87","impliedFormat":99},{"version":"bacf2c84cf448b2cd02c717ad46c3d7fd530e0c91282888c923ad64810a4d511","affectsGlobalScope":true,"impliedFormat":1},{"version":"402e5c534fb2b85fa771170595db3ac0dd532112c8fa44fc23f233bc6967488b","impliedFormat":1},{"version":"8885cf05f3e2abf117590bbb951dcf6359e3e5ac462af1c901cfd24c6a6472e2","impliedFormat":1},{"version":"33f3718dababfc26dfd9832c150149ea4e934f255130f8c118a59ae69e5ed441","impliedFormat":1},{"version":"e61df3640a38d535fd4bc9f4a53aef17c296b58dc4b6394fd576b808dd2fe5e6","impliedFormat":1},{"version":"459920181700cec8cbdf2a5faca127f3f17fd8dd9d9e577ed3f5f3af5d12a2e4","impliedFormat":1},{"version":"4719c209b9c00b579553859407a7e5dcfaa1c472994bd62aa5dd3cc0757eb077","impliedFormat":1},{"version":"7ec359bbc29b69d4063fe7dad0baaf35f1856f914db16b3f4f6e3e1bca4099fa","impliedFormat":1},{"version":"70790a7f0040993ca66ab8a07a059a0f8256e7bb57d968ae945f696cbff4ac7a","impliedFormat":1},{"version":"d1b9a81e99a0050ca7f2d98d7eedc6cda768f0eb9fa90b602e7107433e64c04c","impliedFormat":1},{"version":"a022503e75d6953d0e82c2c564508a5c7f8556fad5d7f971372d2d40479e4034","impliedFormat":1},{"version":"b215c4f0096f108020f666ffcc1f072c81e9f2f95464e894a5d5f34c5ea2a8b1","impliedFormat":1},{"version":"644491cde678bd462bb922c1d0cfab8f17d626b195ccb7f008612dc31f445d2d","impliedFormat":1},{"version":"dfe54dab1fa4961a6bcfba68c4ca955f8b5bbeb5f2ab3c915aa7adaa2eabc03a","impliedFormat":1},{"version":"1bb61aa2f08ab4506d41dbe16c5f3f5010f014bbf46fa3d715c0cbe3b00f4e1c","impliedFormat":1},{"version":"47865c5e695a382a916b1eedda1b6523145426e48a2eae4647e96b3b5e52024f","impliedFormat":1},{"version":"e42820cd611b15910c204cd133f692dcd602532b39317d4f2a19389b27e6f03d","impliedFormat":1},{"version":"331b8f71bfae1df25d564f5ea9ee65a0d847c4a94baa45925b6f38c55c7039bf","impliedFormat":1},{"version":"2a771d907aebf9391ac1f50e4ad37952943515eeea0dcc7e78aa08f508294668","impliedFormat":1},{"version":"0146fd6262c3fd3da51cb0254bb6b9a4e42931eb2f56329edd4c199cb9aaf804","impliedFormat":1},{"version":"183f480885db5caa5a8acb833c2be04f98056bdcc5fb29e969ff86e07efe57ab","impliedFormat":99},{"version":"82e687ebd99518bc63ea04b0c3810fb6e50aa6942decd0ca6f7a56d9b9a212a6","impliedFormat":99},{"version":"7f698624bbbb060ece7c0e51b7236520ebada74b747d7523c7df376453ed6fea","impliedFormat":1},{"version":"8f07f2b6514744ac96e51d7cb8518c0f4de319471237ea10cf688b8d0e9d0225","impliedFormat":1},{"version":"257b83faa134d971c738a6b9e4c47e59bb7b23274719d92197580dd662bfafc3","impliedFormat":99},{"version":"e01ea380015ed698c3c0e2ccd0db72f3fc3ef1abc4519f122aa1c1a8d419a505","impliedFormat":99},{"version":"5ada1f8a9580c0f7478fe03ae3e07e958f0b79bdfb9dd50eeb98c1324f40011b","impliedFormat":99},{"version":"a8301dc90b4bd9fba333226ee0f1681aeeff1bd90233a8f647e687cb4b7d3521","impliedFormat":99},{"version":"e3225dc0bec183183509d290f641786245e6652bc3dce755f7ef404060693c35","impliedFormat":99},{"version":"09a03870ed8c55d7453bc9ad684df88965f2f770f987481ca71b8a09be5205bc","impliedFormat":99},{"version":"e6233e1c976265e85aa8ad76c3881febe6264cb06ae3136f0257e1eab4a6cc5a","impliedFormat":99},{"version":"2cdd50ddc49e2d608ee848fc4ab0db9a2716624fabb4209c7c683d87e54d79c5","impliedFormat":99},{"version":"e431d664338b8470abb1750d699c7dfcebb1a25434559ef85bb96f1e82de5972","impliedFormat":99},{"version":"2c4254139d037c3caca66ce291c1308c1b5092cfcb151eb25980db932dd3b01a","impliedFormat":99},{"version":"970ae00ed018cb96352dc3f37355ef9c2d9f8aa94d7174ccd6d0ed855e462097","impliedFormat":99},{"version":"d2f8dee457ef7660b604226d471d55d927c3051766bdd80353553837492635c3","impliedFormat":99},{"version":"110a503289a2ef76141ffff3ffceb9a1c3662c32748eb9f6777a2bd0866d6fb1","impliedFormat":99},{"version":"69bf2422313487956e4dacf049f30cb91b34968912058d244cb19e4baa24da97","impliedFormat":99},{"version":"310e6b62c493ce991624169a1c1904015769d947be88dc67e00adc7ebebcfa87","impliedFormat":99},{"version":"62fefda288160bf6e435b21cc03d3fbac11193d8d3bd0e82d86623cca7691c29","impliedFormat":99},{"version":"fcc46a8bcbf9bef21023bba1995160a25f0bc590ca3563ec44c315b4f4c1b18a","impliedFormat":99},{"version":"0309a01650023994ed96edbd675ea4fdc3779a823ce716ad876cc77afb792b62","impliedFormat":99},{"version":"f13d7beeea58e219daef3a40e0dc4f2bd7d9581ac04cedec236102a12dfd2090","impliedFormat":99},{"version":"669573548930fb7d0a0761b827e203dc623581e21febf0be80fb02414f217d74","impliedFormat":99},{"version":"48c411efce1848d1ed55de41d7deb93cbf7c04080912fd87aa517ed25ef42639","affectsGlobalScope":true,"impliedFormat":1},{"version":"a094636c05f3e75cb072684dd42cd25a4c1324bec4a866706c85c04cecd49613","affectsGlobalScope":true,"impliedFormat":99},{"version":"fe2d63fcfdde197391b6b70daf7be8c02a60afa90754a5f4a04bdc367f62793d","impliedFormat":99},{"version":"9a3e2c85ec1ab7a0874a19814cc73c691b716282cb727914093089c5a8475955","impliedFormat":99},{"version":"cbdc781d2429935c9c42acd680f2a53a9f633e8de03290ec6ea818e4f7bff19a","impliedFormat":99},{"version":"9f6d9f5dd710922f82f69abf9a324e28122b5f31ae6f6ce78427716db30a377e","impliedFormat":99},{"version":"ac2414a284bdecfd6ab7b87578744ab056cd04dd574b17853cd76830ef5b72f2","impliedFormat":99},{"version":"c3f921bbc9d2e65bd503a56fbc66da910e68467baedb0b9db0cc939e1876c0d7","impliedFormat":99},{"version":"c30a41267fc04c6518b17e55dcb2b810f267af4314b0b6d7df1c33a76ce1b330","impliedFormat":1},{"version":"72422d0bac4076912385d0c10911b82e4694fc106e2d70added091f88f0824ba","impliedFormat":1},{"version":"da251b82c25bee1d93f9fd80c5a61d945da4f708ca21285541d7aff83ecb8200","impliedFormat":1},{"version":"4c8ca51077f382498f47074cf304d654aba5d362416d4f809dfdd5d4f6b3aaca","impliedFormat":1},{"version":"c6bddf16578495abc8b5546850b047f30c4b5a2a2b7fecefc0e11a44a6e91399","impliedFormat":1},{"version":"0cc99fbb161d78729d71fad66c6c363e3095862d6277160f29fa960744b785c6","affectsGlobalScope":true,"impliedFormat":99},{"version":"0fd12c2a26a357b9298426dbd06f2e7447091bfe749c0ed230aa0aed3efb813d","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"13d43666c55b9153815a92c4d3f807833df3491ebe4009cd46c3879b9a3f5d1a","affectsGlobalScope":true,"impliedFormat":99}],"root":[160,174,[279,284],[293,306],385],"options":{"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":99,"outDir":"./types","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":99},"referencedMap":[[147,1],[151,2],[81,3],[154,4],[155,5],[156,6],[157,6],[87,7],[149,8],[82,9],[80,3],[150,10],[88,11],[89,12],[83,13],[84,14],[90,3],[86,13],[91,8],[148,15],[153,16],[152,3],[159,17],[158,3],[85,18],[320,3],[92,19],[93,19],[95,20],[96,21],[97,22],[98,23],[99,24],[100,25],[101,26],[102,27],[103,28],[104,29],[105,29],[107,30],[106,31],[108,30],[109,32],[110,33],[94,34],[144,3],[111,35],[112,36],[113,37],[145,38],[114,39],[115,40],[116,41],[117,42],[118,43],[119,44],[120,45],[121,46],[122,47],[123,48],[124,48],[125,49],[126,50],[128,51],[127,52],[129,53],[130,54],[131,55],[132,56],[133,57],[134,58],[135,59],[136,60],[137,61],[138,62],[139,63],[140,64],[141,65],[142,66],[143,67],[292,68],[290,69],[291,70],[371,3],[372,71],[373,72],[376,73],[375,3],[307,3],[318,74],[313,75],[316,76],[363,77],[352,3],[355,78],[354,79],[366,79],[353,80],[374,3],[315,81],[317,81],[309,82],[312,83],[360,82],[314,84],[308,3],[146,3],[161,3],[175,3],[253,85],[254,86],[251,86],[252,3],[257,87],[256,88],[255,89],[179,3],[181,90],[180,86],[182,91],[258,3],[259,3],[262,92],[260,3],[261,3],[231,93],[232,94],[233,95],[229,96],[230,97],[183,86],[192,98],[184,86],[186,86],[187,3],[185,86],[188,86],[189,86],[190,86],[191,99],[276,100],[207,101],[208,3],[213,102],[210,103],[209,3],[211,3],[212,104],[277,105],[206,106],[215,107],[216,3],[199,108],[220,109],[205,110],[203,111],[239,112],[202,113],[201,114],[224,115],[226,115],[225,115],[223,116],[228,115],[227,116],[234,117],[222,118],[235,119],[238,120],[217,121],[236,115],[237,115],[218,122],[219,123],[204,124],[221,125],[214,126],[194,127],[196,104],[195,127],[198,128],[197,129],[176,86],[178,130],[177,3],[240,131],[241,3],[200,3],[242,86],[250,132],[193,130],[243,3],[244,86],[246,133],[245,134],[247,86],[248,86],[249,86],[263,135],[271,136],[275,137],[272,3],[273,104],[270,138],[274,139],[269,140],[266,141],[265,142],[267,141],[264,3],[268,142],[381,143],[383,144],[382,145],[380,146],[379,3],[165,147],[163,148],[166,149],[171,3],[168,148],[169,150],[172,151],[164,148],[167,152],[170,148],[162,3],[278,153],[173,154],[289,155],[286,156],[288,157],[287,3],[285,3],[344,158],[342,159],[343,160],[331,161],[332,159],[339,162],[330,163],[335,164],[345,3],[336,165],[341,166],[347,167],[346,168],[329,169],[337,170],[338,171],[333,172],[340,158],[334,173],[322,174],[321,175],[328,3],[364,3],[310,3],[311,176],[78,3],[79,3],[13,3],[15,3],[14,3],[2,3],[16,3],[17,3],[18,3],[19,3],[20,3],[21,3],[22,3],[23,3],[3,3],[24,3],[25,3],[4,3],[26,3],[30,3],[27,3],[28,3],[29,3],[31,3],[32,3],[33,3],[5,3],[34,3],[35,3],[36,3],[37,3],[6,3],[41,3],[38,3],[39,3],[40,3],[42,3],[7,3],[43,3],[48,3],[49,3],[44,3],[45,3],[46,3],[47,3],[8,3],[53,3],[50,3],[51,3],[52,3],[54,3],[9,3],[55,3],[56,3],[57,3],[59,3],[58,3],[60,3],[61,3],[10,3],[62,3],[63,3],[64,3],[11,3],[65,3],[66,3],[67,3],[68,3],[69,3],[1,3],[70,3],[71,3],[12,3],[75,3],[73,3],[77,3],[72,3],[76,3],[74,3],[361,177],[358,178],[359,177],[362,179],[357,3],[351,180],[348,181],[326,182],[327,3],[324,183],[323,3],[325,184],[349,3],[350,185],[365,186],[356,187],[319,3],[377,188],[367,189],[378,190],[370,191],[369,192],[368,193],[384,194],[386,195],[301,196],[385,197],[300,198],[299,199],[297,200],[304,196],[284,201],[293,202],[283,3],[295,203],[294,204],[296,205],[303,206],[302,207],[305,208],[306,209],[160,3],[280,210],[298,3],[279,211],[174,212],[281,213],[282,3]],"latestChangedDtsFile":"./types/client/client.test.d.ts","version":"5.8.3"}
|
|
1
|
+
{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.es2021.d.ts","../node_modules/typescript/lib/lib.es2022.d.ts","../node_modules/typescript/lib/lib.es2023.d.ts","../node_modules/typescript/lib/lib.es2024.d.ts","../node_modules/typescript/lib/lib.esnext.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2016.intl.d.ts","../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../node_modules/typescript/lib/lib.es2017.date.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/typescript/lib/lib.es2021.promise.d.ts","../node_modules/typescript/lib/lib.es2021.string.d.ts","../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../node_modules/typescript/lib/lib.es2021.intl.d.ts","../node_modules/typescript/lib/lib.es2022.array.d.ts","../node_modules/typescript/lib/lib.es2022.error.d.ts","../node_modules/typescript/lib/lib.es2022.intl.d.ts","../node_modules/typescript/lib/lib.es2022.object.d.ts","../node_modules/typescript/lib/lib.es2022.string.d.ts","../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../node_modules/typescript/lib/lib.es2023.array.d.ts","../node_modules/typescript/lib/lib.es2023.collection.d.ts","../node_modules/typescript/lib/lib.es2023.intl.d.ts","../node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts","../node_modules/typescript/lib/lib.es2024.collection.d.ts","../node_modules/typescript/lib/lib.es2024.object.d.ts","../node_modules/typescript/lib/lib.es2024.promise.d.ts","../node_modules/typescript/lib/lib.es2024.regexp.d.ts","../node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2024.string.d.ts","../node_modules/typescript/lib/lib.esnext.array.d.ts","../node_modules/typescript/lib/lib.esnext.collection.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../node_modules/typescript/lib/lib.esnext.disposable.d.ts","../node_modules/typescript/lib/lib.esnext.promise.d.ts","../node_modules/typescript/lib/lib.esnext.decorators.d.ts","../node_modules/typescript/lib/lib.esnext.iterator.d.ts","../node_modules/typescript/lib/lib.esnext.float16.d.ts","../node_modules/typescript/lib/lib.decorators.d.ts","../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../node_modules/@kwilteam/kwil-js/dist/core/enums.d.ts","../node_modules/@kwilteam/kwil-js/dist/api_client/config.d.ts","../node_modules/@kwilteam/kwil-js/dist/core/database.d.ts","../node_modules/@kwilteam/kwil-js/dist/core/network.d.ts","../node_modules/@kwilteam/kwil-js/dist/core/payload.d.ts","../node_modules/@kwilteam/kwil-js/dist/utils/types.d.ts","../node_modules/@kwilteam/kwil-js/dist/core/signature.d.ts","../node_modules/@kwilteam/kwil-js/dist/core/action.d.ts","../node_modules/@kwilteam/kwil-js/dist/core/kwilsigner.d.ts","../node_modules/@kwilteam/kwil-js/dist/core/message.d.ts","../node_modules/@kwilteam/kwil-js/dist/core/resreq.d.ts","../node_modules/@kwilteam/kwil-js/dist/core/tx.d.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/dom-events.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/readline/promises.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/test.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/globals.global.d.ts","../node_modules/@types/node/index.d.ts","../node_modules/axios/index.d.ts","../node_modules/@kwilteam/kwil-js/dist/api_client/api.d.ts","../node_modules/@kwilteam/kwil-js/dist/core/txquery.d.ts","../node_modules/@kwilteam/kwil-js/dist/core/auth.d.ts","../node_modules/@kwilteam/kwil-js/dist/core/jsonrpc.d.ts","../node_modules/@kwilteam/kwil-js/dist/api_client/client.d.ts","../node_modules/@kwilteam/kwil-js/dist/funder/funding_types.d.ts","../node_modules/@kwilteam/kwil-js/dist/funder/funder.d.ts","../node_modules/@kwilteam/kwil-js/dist/auth/auth.d.ts","../node_modules/@kwilteam/kwil-js/dist/client/kwil.d.ts","../node_modules/@kwilteam/kwil-js/dist/client/node/nodekwil.d.ts","../node_modules/@kwilteam/kwil-js/dist/client/web/webkwil.d.ts","../node_modules/@kwilteam/kwil-js/dist/utils/dbid.d.ts","../node_modules/@kwilteam/kwil-js/dist/index.d.ts","../src/types/other.ts","../node_modules/crypto-hash/index.d.ts","../node_modules/monads-io/dist/types.d.ts","../node_modules/monads-io/dist/either.d.ts","../node_modules/monads-io/dist/maybe.d.ts","../node_modules/monads-io/dist/convert.d.ts","../node_modules/monads-io/dist/either.exports.d.ts","../node_modules/monads-io/dist/maybe.exports.d.ts","../node_modules/monads-io/dist/identity.d.ts","../node_modules/monads-io/dist/identity.exports.d.ts","../node_modules/monads-io/dist/runtime.d.ts","../node_modules/monads-io/dist/errors.d.ts","../node_modules/monads-io/dist/index.d.ts","../node_modules/monads-io/index.d.ts","../src/util/streamid.ts","../node_modules/ethers/lib.esm/_version.d.ts","../node_modules/ethers/lib.esm/utils/base58.d.ts","../node_modules/ethers/lib.esm/utils/data.d.ts","../node_modules/ethers/lib.esm/utils/base64.d.ts","../node_modules/ethers/lib.esm/address/address.d.ts","../node_modules/ethers/lib.esm/address/contract-address.d.ts","../node_modules/ethers/lib.esm/address/checks.d.ts","../node_modules/ethers/lib.esm/address/index.d.ts","../node_modules/ethers/lib.esm/crypto/hmac.d.ts","../node_modules/ethers/lib.esm/crypto/keccak.d.ts","../node_modules/ethers/lib.esm/crypto/ripemd160.d.ts","../node_modules/ethers/lib.esm/crypto/pbkdf2.d.ts","../node_modules/ethers/lib.esm/crypto/random.d.ts","../node_modules/ethers/lib.esm/crypto/scrypt.d.ts","../node_modules/ethers/lib.esm/crypto/sha2.d.ts","../node_modules/ethers/lib.esm/crypto/signature.d.ts","../node_modules/ethers/lib.esm/crypto/signing-key.d.ts","../node_modules/ethers/lib.esm/crypto/index.d.ts","../node_modules/ethers/lib.esm/utils/maths.d.ts","../node_modules/ethers/lib.esm/transaction/accesslist.d.ts","../node_modules/ethers/lib.esm/transaction/authorization.d.ts","../node_modules/ethers/lib.esm/transaction/address.d.ts","../node_modules/ethers/lib.esm/transaction/transaction.d.ts","../node_modules/ethers/lib.esm/transaction/index.d.ts","../node_modules/ethers/lib.esm/providers/contracts.d.ts","../node_modules/ethers/lib.esm/utils/fetch.d.ts","../node_modules/ethers/lib.esm/providers/plugins-network.d.ts","../node_modules/ethers/lib.esm/providers/network.d.ts","../node_modules/ethers/lib.esm/providers/formatting.d.ts","../node_modules/ethers/lib.esm/providers/provider.d.ts","../node_modules/ethers/lib.esm/providers/ens-resolver.d.ts","../node_modules/ethers/lib.esm/providers/abstract-provider.d.ts","../node_modules/ethers/lib.esm/hash/authorization.d.ts","../node_modules/ethers/lib.esm/hash/id.d.ts","../node_modules/ethers/lib.esm/hash/namehash.d.ts","../node_modules/ethers/lib.esm/hash/message.d.ts","../node_modules/ethers/lib.esm/hash/solidity.d.ts","../node_modules/ethers/lib.esm/hash/typed-data.d.ts","../node_modules/ethers/lib.esm/hash/index.d.ts","../node_modules/ethers/lib.esm/providers/signer.d.ts","../node_modules/ethers/lib.esm/providers/abstract-signer.d.ts","../node_modules/ethers/lib.esm/providers/community.d.ts","../node_modules/ethers/lib.esm/providers/provider-jsonrpc.d.ts","../node_modules/ethers/lib.esm/providers/provider-socket.d.ts","../node_modules/ethers/lib.esm/providers/provider-websocket.d.ts","../node_modules/ethers/lib.esm/providers/default-provider.d.ts","../node_modules/ethers/lib.esm/providers/signer-noncemanager.d.ts","../node_modules/ethers/lib.esm/providers/provider-fallback.d.ts","../node_modules/ethers/lib.esm/providers/provider-browser.d.ts","../node_modules/ethers/lib.esm/providers/provider-alchemy.d.ts","../node_modules/ethers/lib.esm/providers/provider-blockscout.d.ts","../node_modules/ethers/lib.esm/providers/provider-ankr.d.ts","../node_modules/ethers/lib.esm/providers/provider-cloudflare.d.ts","../node_modules/ethers/lib.esm/providers/provider-chainstack.d.ts","../node_modules/ethers/lib.esm/contract/types.d.ts","../node_modules/ethers/lib.esm/contract/wrappers.d.ts","../node_modules/ethers/lib.esm/contract/contract.d.ts","../node_modules/ethers/lib.esm/contract/factory.d.ts","../node_modules/ethers/lib.esm/contract/index.d.ts","../node_modules/ethers/lib.esm/providers/provider-etherscan.d.ts","../node_modules/ethers/lib.esm/providers/provider-infura.d.ts","../node_modules/ethers/lib.esm/providers/provider-pocket.d.ts","../node_modules/ethers/lib.esm/providers/provider-quicknode.d.ts","../node_modules/ethers/lib.esm/providers/provider-ipcsocket.d.ts","../node_modules/ethers/lib.esm/providers/index.d.ts","../node_modules/ethers/lib.esm/utils/errors.d.ts","../node_modules/ethers/lib.esm/utils/events.d.ts","../node_modules/ethers/lib.esm/utils/fixednumber.d.ts","../node_modules/ethers/lib.esm/utils/properties.d.ts","../node_modules/ethers/lib.esm/utils/rlp-decode.d.ts","../node_modules/ethers/lib.esm/utils/rlp.d.ts","../node_modules/ethers/lib.esm/utils/rlp-encode.d.ts","../node_modules/ethers/lib.esm/utils/units.d.ts","../node_modules/ethers/lib.esm/utils/utf8.d.ts","../node_modules/ethers/lib.esm/utils/uuid.d.ts","../node_modules/ethers/lib.esm/utils/index.d.ts","../node_modules/ethers/lib.esm/abi/coders/abstract-coder.d.ts","../node_modules/ethers/lib.esm/abi/fragments.d.ts","../node_modules/ethers/lib.esm/abi/abi-coder.d.ts","../node_modules/ethers/lib.esm/abi/bytes32.d.ts","../node_modules/ethers/lib.esm/abi/typed.d.ts","../node_modules/ethers/lib.esm/abi/interface.d.ts","../node_modules/ethers/lib.esm/abi/index.d.ts","../node_modules/ethers/lib.esm/constants/addresses.d.ts","../node_modules/ethers/lib.esm/constants/hashes.d.ts","../node_modules/ethers/lib.esm/constants/numbers.d.ts","../node_modules/ethers/lib.esm/constants/strings.d.ts","../node_modules/ethers/lib.esm/constants/index.d.ts","../node_modules/ethers/lib.esm/wallet/base-wallet.d.ts","../node_modules/ethers/lib.esm/wordlists/wordlist.d.ts","../node_modules/ethers/lib.esm/wordlists/wordlist-owl.d.ts","../node_modules/ethers/lib.esm/wordlists/lang-en.d.ts","../node_modules/ethers/lib.esm/wordlists/wordlist-owla.d.ts","../node_modules/ethers/lib.esm/wordlists/wordlists.d.ts","../node_modules/ethers/lib.esm/wordlists/index.d.ts","../node_modules/ethers/lib.esm/wallet/mnemonic.d.ts","../node_modules/ethers/lib.esm/wallet/hdwallet.d.ts","../node_modules/ethers/lib.esm/wallet/json-crowdsale.d.ts","../node_modules/ethers/lib.esm/wallet/json-keystore.d.ts","../node_modules/ethers/lib.esm/wallet/wallet.d.ts","../node_modules/ethers/lib.esm/wallet/index.d.ts","../node_modules/ethers/lib.esm/ethers.d.ts","../node_modules/ethers/lib.esm/index.d.ts","../node_modules/monads-io/either.d.ts","../src/util/ethereumaddress.ts","../src/types/stream.ts","../src/util/head.ts","../src/util/visibility.ts","../src/contracts-api/contractvalues.ts","../src/contracts-api/action.ts","../node_modules/pg-types/index.d.ts","../node_modules/pg-protocol/dist/messages.d.ts","../node_modules/pg-protocol/dist/serializer.d.ts","../node_modules/pg-protocol/dist/parser.d.ts","../node_modules/pg-protocol/dist/index.d.ts","../node_modules/@types/pg/lib/type-overrides.d.ts","../node_modules/@types/pg/index.d.ts","../node_modules/@types/pg/index.d.mts","../src/contracts-api/composedaction.ts","../src/contracts-api/deploystream.ts","../src/contracts-api/deletestream.ts","../src/contracts-api/primitiveaction.ts","../src/client/liststreams.ts","../src/types/transaction.ts","../src/client/getlasttransactions.ts","../src/client/client.ts","../src/client/browserclient.ts","../src/index.common.ts","../src/index.browser.ts","../src/client/nodeclient.ts","../src/index.node.ts","../src/index.ts","../node_modules/@vitest/pretty-format/dist/index.d.ts","../node_modules/@vitest/utils/dist/types.d.ts","../node_modules/@vitest/utils/dist/helpers.d.ts","../node_modules/tinyrainbow/dist/index-c1cfc5e9.d.ts","../node_modules/tinyrainbow/dist/node.d.ts","../node_modules/@vitest/utils/dist/index.d.ts","../node_modules/@vitest/runner/dist/tasks-3znpj1lr.d.ts","../node_modules/@vitest/utils/dist/types-bxe-2udy.d.ts","../node_modules/@vitest/utils/dist/diff.d.ts","../node_modules/@vitest/runner/dist/types.d.ts","../node_modules/@vitest/utils/dist/error.d.ts","../node_modules/@vitest/runner/dist/index.d.ts","../node_modules/vitest/dist/chunks/environment.looobwuu.d.ts","../node_modules/@types/estree/index.d.ts","../node_modules/rollup/dist/rollup.d.ts","../node_modules/rollup/dist/parseast.d.ts","../node_modules/vite/types/hmrpayload.d.ts","../node_modules/vite/types/customevent.d.ts","../node_modules/vite/types/hot.d.ts","../node_modules/vite/dist/node/types.d-agj9qkwt.d.ts","../node_modules/vite/node_modules/esbuild/lib/main.d.ts","../node_modules/source-map-js/source-map.d.ts","../node_modules/postcss/lib/previous-map.d.ts","../node_modules/postcss/lib/input.d.ts","../node_modules/postcss/lib/css-syntax-error.d.ts","../node_modules/postcss/lib/declaration.d.ts","../node_modules/postcss/lib/root.d.ts","../node_modules/postcss/lib/warning.d.ts","../node_modules/postcss/lib/lazy-result.d.ts","../node_modules/postcss/lib/no-work-result.d.ts","../node_modules/postcss/lib/processor.d.ts","../node_modules/postcss/lib/result.d.ts","../node_modules/postcss/lib/document.d.ts","../node_modules/postcss/lib/rule.d.ts","../node_modules/postcss/lib/node.d.ts","../node_modules/postcss/lib/comment.d.ts","../node_modules/postcss/lib/container.d.ts","../node_modules/postcss/lib/at-rule.d.ts","../node_modules/postcss/lib/list.d.ts","../node_modules/postcss/lib/postcss.d.ts","../node_modules/postcss/lib/postcss.d.mts","../node_modules/vite/dist/node/runtime.d.ts","../node_modules/vite/types/importglob.d.ts","../node_modules/vite/types/metadata.d.ts","../node_modules/vite/dist/node/index.d.ts","../node_modules/@vitest/snapshot/dist/environment-ddx0edty.d.ts","../node_modules/@vitest/snapshot/dist/rawsnapshot-cpnkto81.d.ts","../node_modules/@vitest/snapshot/dist/index.d.ts","../node_modules/@vitest/snapshot/dist/environment.d.ts","../node_modules/vitest/dist/chunks/config.cy0c388z.d.ts","../node_modules/vite-node/dist/trace-mapping.d-dlvdeqop.d.ts","../node_modules/vite-node/dist/index-z0r8hvru.d.ts","../node_modules/vite-node/dist/index.d.ts","../node_modules/@vitest/utils/dist/source-map.d.ts","../node_modules/vite-node/dist/client.d.ts","../node_modules/vite-node/dist/server.d.ts","../node_modules/@vitest/runner/dist/utils.d.ts","../node_modules/tinybench/dist/index.d.ts","../node_modules/vitest/dist/chunks/benchmark.geerunq4.d.ts","../node_modules/@vitest/snapshot/dist/manager.d.ts","../node_modules/vitest/dist/chunks/reporters.nr4dxcka.d.ts","../node_modules/vitest/dist/chunks/worker.tn5kgiih.d.ts","../node_modules/vitest/dist/chunks/worker.b9fxpcac.d.ts","../node_modules/vitest/dist/chunks/vite.czkp4x9w.d.ts","../node_modules/@vitest/expect/dist/chai.d.cts","../node_modules/@vitest/expect/dist/index.d.ts","../node_modules/@vitest/expect/index.d.ts","../node_modules/@vitest/spy/dist/index.d.ts","../node_modules/@vitest/mocker/dist/types-dzoqtgin.d.ts","../node_modules/@vitest/mocker/dist/index.d.ts","../node_modules/vitest/dist/chunks/mocker.crtm890j.d.ts","../node_modules/vitest/dist/chunks/suite.b2jumifp.d.ts","../node_modules/expect-type/dist/utils.d.ts","../node_modules/expect-type/dist/overloads.d.ts","../node_modules/expect-type/dist/branding.d.ts","../node_modules/expect-type/dist/messages.d.ts","../node_modules/expect-type/dist/index.d.ts","../node_modules/vitest/dist/index.d.ts","../src/client/client.test.ts","../node_modules/vitest/importmeta.d.ts"],"fileIdsList":[[81,138,145,146],[80,81,83,85,89,90,91,138,147,148,149,150],[138],[80,86,87,88,90,138,149],[80,81,82,83,85,87,88,89,90,91,138,148,151,153,154],[80,81,87,88,89,90,138,155],[80,82,84,85,86,138],[80,85,86,138],[80,84,138],[80,82,83,85,89,91,138,148,149],[85,86,138],[80,84,85,86,138],[80,85,138],[80,82,83,85,138],[80,91,138],[80,88,90,91,138,152,155],[80,81,82,83,85,86,87,88,89,90,91,138,148,149,151,152,156,157,158],[84,138],[92,138],[95,138],[96,101,129,138],[97,108,109,116,126,137,138],[97,98,108,116,138],[99,138],[100,101,109,117,138],[101,126,134,138],[102,104,108,116,138],[103,138],[104,105,138],[108,138],[106,108,138],[108,109,110,126,137,138],[108,109,110,123,126,129,138],[138,142],[104,108,111,116,126,137,138],[108,109,111,112,116,126,134,137,138],[111,113,126,134,137,138],[92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144],[108,114,138],[115,137,138,142],[104,108,116,126,138],[117,138],[118,138],[95,119,138],[120,136,138,142],[121,138],[122,138],[108,123,124,138],[123,125,138,140],[96,108,126,127,128,129,138],[96,126,128,138],[126,127,138],[129,138],[130,138],[95,126,138],[108,132,133,138],[132,133,138],[101,116,126,134,138],[135,138],[116,136,138],[96,111,122,137,138],[101,138],[126,138,139],[115,138,140],[138,141],[96,101,108,110,119,126,137,138,140,142],[126,138,143],[138,291],[108,126,134,138,145,285,286,289,290,291],[138,311,312,315],[138,372],[138,375],[138,312,313,315,316,317],[138,312],[138,312,313,315],[138,312,313],[138,352],[138,307,352,353],[138,307,352],[138,307,314],[138,308],[138,307,308,309,311],[138,307],[138,250,251,252],[138,250],[138,252,253,254,255,256],[138,250,251,252,253,255],[138,182,250,251],[138,182],[138,179,180,181],[138,258,259,260,261],[138,182,204,229,230,239,250,257],[138,182,229,230,231,239,250,257],[138,229,230,231,232],[138,230,239,257],[138,204,229,231,239,250,257],[138,183,184,185,186,187,188,189,190,191],[138,190,192,250],[138,175,182,192,198,213,233,239,250,257,262,269,275],[138,182,192,250],[138,207,208,209,210,211,212],[138,192],[138,192,250],[138,276],[138,182,202,203,204,205,250],[138,198,204,213,214],[138,204],[138,202,206,219],[138,204,206,250],[138,192,198],[138,199,201,202,203,204,205,206,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,234,235,236,237,238],[138,198,201,250],[138,200,204],[138,202,206,216,217,250],[138,202,217],[138,201,202,204,206,233],[138,202,206],[138,202,206,216,217,219,250],[116,138,145,202,217,218],[138,198,202,204,206,213,214,215,250],[138,202,204,206,217],[138,202,217,218],[138,182,192,198,199,202,203,250],[138,204,213,214,215],[138,182,198,199,204,213],[138,198],[138,192,193,194,195,196,197],[138,192,198,250],[138,177],[138,200,239],[138,176,177,178,193,200,240,241,242,243,244,245,246,247,248,249],[138,245],[138,244,246],[138,192,198,213,239],[138,192,239,250,263,269,270],[138,263,270,271,272,273,274],[138,250,269],[138,192,239,263,271],[138,264,265,266,267,268],[138,265],[138,264],[138,379,380],[138,379,380,381,382],[138,379,381],[138,379],[138,163,164],[138,162],[138,163,165],[138,168],[138,162,166,167,169,170,171],[138,164,165],[138,166],[138,172],[138,145,286,287,288],[138,145],[126,138,145,286],[138,343],[138,341,343],[138,332,340,341,342,344],[138,330],[138,333,338,343,346],[138,329,346],[138,333,334,337,338,339,346],[138,333,334,335,337,338,346],[138,330,331,332,333,334,338,339,340,342,343,344,346],[138,346],[138,328,330,331,332,333,334,335,337,338,339,340,341,342,343,344,345],[138,328,346],[138,333,335,336,338,339,346],[138,337,346],[138,338,339,343,346],[138,331,341],[138,321,350],[138,320,321],[138,310],[138,357,358],[138,357],[138,351,357,358,370],[108,109,111,112,113,116,126,134,137,138,143,145,321,322,323,324,325,326,327,347,348,349,350],[138,323,324,325,326],[138,323,324,325],[138,323],[138,324],[138,321],[138,318,363,364,384],[138,307,318,354,355,384],[138,376],[109,126,138,307,312,318,319,351,354,356,359,360,361,362,365,366,370,371,384],[138,318,363,364,365,384],[138,351,367],[138,142,368],[138,318,319,354,356,359,384],[109,126,138,142,307,312,315,318,319,351,354,355,356,359,360,361,362,363,364,365,366,367,368,369,370,371,373,374,376,377,378,383,384],[138,384],[80,138,159,300],[138,277,304,384],[80,81,86,90,91,138,148,155,159,174,279,280,283,284,293,294,295,296,297,299],[138,159,298,300],[82,138,159,174,279,280,300],[85,87,90,91,138,159,160,173,174,279,280,281,282,283],[90,91,138,159,160,174,279,280,284,292],[90,91,138,155,159,174,280],[90,91,138,155,159,174,283,292],[90,91,138,159,280,283,284],[138,301,302],[138,174,279,280,282,283,284,293,296,300],[138,302,304],[138,301,302,304],[138,174,279],[138,277,278],[138,173],[138,161,173]],"fileInfos":[{"version":"69684132aeb9b5642cbcd9e22dff7818ff0ee1aa831728af0ecf97d3364d5546","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"27bdc30a0e32783366a5abeda841bc22757c1797de8681bbe81fbc735eeb1c10","impliedFormat":1},{"version":"8fd575e12870e9944c7e1d62e1f5a73fcf23dd8d3a321f2a2c74c20d022283fe","impliedFormat":1},{"version":"8bf8b5e44e3c9c36f98e1007e8b7018c0f38d8adc07aecef42f5200114547c70","impliedFormat":1},{"version":"092c2bfe125ce69dbb1223c85d68d4d2397d7d8411867b5cc03cec902c233763","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"936e80ad36a2ee83fc3caf008e7c4c5afe45b3cf3d5c24408f039c1d47bdc1df","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"fef8cfad2e2dc5f5b3d97a6f4f2e92848eb1b88e897bb7318cef0e2820bceaab","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"b5ce7a470bc3628408429040c4e3a53a27755022a32fd05e2cb694e7015386c7","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"df83c2a6c73228b625b0beb6669c7ee2a09c914637e2d35170723ad49c0f5cd4","affectsGlobalScope":true,"impliedFormat":1},{"version":"436aaf437562f276ec2ddbee2f2cdedac7664c1e4c1d2c36839ddd582eeb3d0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e3c06ea092138bf9fa5e874a1fdbc9d54805d074bee1de31b99a11e2fec239d","affectsGlobalScope":true,"impliedFormat":1},{"version":"87dc0f382502f5bbce5129bdc0aea21e19a3abbc19259e0b43ae038a9fc4e326","affectsGlobalScope":true,"impliedFormat":1},{"version":"b1cb28af0c891c8c96b2d6b7be76bd394fddcfdb4709a20ba05a7c1605eea0f9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2fef54945a13095fdb9b84f705f2b5994597640c46afeb2ce78352fab4cb3279","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac77cb3e8c6d3565793eb90a8373ee8033146315a3dbead3bde8db5eaf5e5ec6","affectsGlobalScope":true,"impliedFormat":1},{"version":"56e4ed5aab5f5920980066a9409bfaf53e6d21d3f8d020c17e4de584d29600ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ece9f17b3866cc077099c73f4983bddbcb1dc7ddb943227f1ec070f529dedd1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a6282c8827e4b9a95f4bf4f5c205673ada31b982f50572d27103df8ceb8013c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1c9319a09485199c1f7b0498f2988d6d2249793ef67edda49d1e584746be9032","affectsGlobalScope":true,"impliedFormat":1},{"version":"e3a2a0cee0f03ffdde24d89660eba2685bfbdeae955a6c67e8c4c9fd28928eeb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"60037901da1a425516449b9a20073aa03386cce92f7a1fd902d7602be3a7c2e9","affectsGlobalScope":true,"impliedFormat":1},{"version":"d4b1d2c51d058fc21ec2629fff7a76249dec2e36e12960ea056e3ef89174080f","affectsGlobalScope":true,"impliedFormat":1},{"version":"22adec94ef7047a6c9d1af3cb96be87a335908bf9ef386ae9fd50eeb37f44c47","affectsGlobalScope":true,"impliedFormat":1},{"version":"4245fee526a7d1754529d19227ecbf3be066ff79ebb6a380d78e41648f2f224d","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"f4305022b9b58daf6eac0a1b8f2568ddcd96e958afcfc3b9530e90460b3f6bf2","impliedFormat":1},{"version":"5b13031422671cc22ea7b36fcf708776c9f3d8b3233c6df3a0ab759621729f54","impliedFormat":1},{"version":"3067543c7ce1d809da78a425b3b7a874147432841477434a508b2ae38f3febe8","impliedFormat":1},{"version":"a47bcbc4f32cd38ddefd0d31c0314d0a5656dfba4ddd9431f825e7193966aacd","impliedFormat":1},{"version":"c226c777447b786754a7c4d5cf0c497a514b66141bdc98ae90b58c6f5f636e55","impliedFormat":1},{"version":"4bf65ba8b5bd21d54f8d7017968c4dc7f8b500c87f9944148ea9eaf74d13721d","impliedFormat":1},{"version":"8dc867a8ce7fb326d8f9586e67e35a862cc11908e902530f7ebb62e57976ad86","impliedFormat":1},{"version":"8f3282db99633148e96329c63c6145722967245308e4ca287df3c3b7d5d56026","impliedFormat":1},{"version":"c0b0ba5f9772afc819467c32c3f46d2eda0b6c4592d6103412cb26d35e82e993","impliedFormat":1},{"version":"e334e89474ef50a49eb4b11efd6df3b34878c37ce60111519e0246292d78e247","impliedFormat":1},{"version":"412c99d8217c9866a720ec75b2fe0e3ef615bc61f170f48508e4e401bae561ff","impliedFormat":1},{"version":"0d0ae59d75bd2d0f74f710a6d08601cb9daa1f0b3a71af77324e7441ba185d4c","impliedFormat":1},{"version":"9004b6757fde33f153c3a7694c15b017531a0261fafb99e0542a8a6f61be1708","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"32465ea19404cb188e84cf08c6b1f6b12d739140436402cdbc184a3fd20a7d81","affectsGlobalScope":true,"impliedFormat":1},{"version":"39b1a50d543770780b0409a4caacb87f3ff1d510aedfeb7dc06ed44188256f89","impliedFormat":1},{"version":"da5afd11bfce6e59d63f28fcf1ce25cd099188de33c08f9fad297186713fb17c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1f2d8573577ad731813e4358b913b667923a94e6456f645918fba11134040d13","impliedFormat":1},{"version":"fe39ceafa361b6d339b518936275eff89a77e7dfe92f2efa5fb97abf9a95ca49","impliedFormat":1},{"version":"815c751d4afee4651d61edf6204187372a55ca8e0126a906986b4859ec51f192","affectsGlobalScope":true,"impliedFormat":1},{"version":"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","impliedFormat":1},{"version":"8a67dc9edddace374b1a96852ab5bbb87b631d439a928e6df326587d1f4fe9f0","impliedFormat":1},{"version":"fbcf2c3cde728761b05dbf8e7a9b8be1f5514dc324c6f83b87ba5c0668119b98","impliedFormat":1},{"version":"7eb0662b995994db248290a0f0a1d8ed685991a162ff9eb4dee36f099cccd0d9","impliedFormat":1},{"version":"16bbaee4dd96ec8b67026329a4f5fdef6313e42a5c305ddeb498c3d65fb557b8","impliedFormat":1},{"version":"37a36483218b24a50be2548a71557603e01ce38154c9f3f635c6c8275abd9fb1","impliedFormat":1},{"version":"c6cf9428f45f3d78b07df7d7aab1569994c177d36549e3a962f952d89f026bc4","impliedFormat":1},{"version":"2c71199d1fc83bf17636ad5bf63a945633406b7b94887612bba4ef027c662b3e","affectsGlobalScope":true,"impliedFormat":1},{"version":"d30c9292ff36b2af594109d4413f34b952b1258c50b0361a3db1f7d94ec1e193","affectsGlobalScope":true,"impliedFormat":1},{"version":"d617229425b25df2046a9c1e321dd1b50825abc8e3b38048453345483f8601e1","impliedFormat":1},{"version":"badd4f5fe0cca51915ef597852d07598ca490f6d1d9d68d505a159f18cde792d","impliedFormat":1},{"version":"2d510ba9ab3fd294bc60f6a6dea2c8eb5942676bce2916ea72b52b975e788abb","impliedFormat":1},{"version":"e6d2e297c73016fc98095238b25428591d129481c50eb1b6e575d35f3f8c621e","impliedFormat":1},{"version":"e3baa0c5780c2c805ec33a999722a2f740b572eb3746fd0a5f93a0a5c3dbf7f6","impliedFormat":1},{"version":"7e5307e29dfd5d5b827203b85cb665d8d5bf932a6c6f393457da8e9ed1906761","impliedFormat":1},{"version":"e492737de7f023b47ff14ca54b9635ba3dcd64816ed3316c9f3a784cf5897173","affectsGlobalScope":true,"impliedFormat":1},{"version":"40798238bc2e17ee787a815dbce4f2c89c161e5ad2fde062fb50454c093fa433","impliedFormat":1},{"version":"30b15efd2b52c7e5f0f7c1e360afc43f487a2cffad5c01756f06eb323eee3efd","impliedFormat":1},{"version":"323506ce173f7f865f42f493885ee3dacd18db6359ea1141d57676d3781ce10c","impliedFormat":1},{"version":"e7391fb34deecd321ae15af659cbfb0b9abc995c5ed4b3d703ba768e44b89670","affectsGlobalScope":true,"impliedFormat":1},{"version":"0900d10c17bae29648b266c0ae7cef0c95ebb2a1d81541b833833ed0996ac85a","affectsGlobalScope":true,"impliedFormat":1},{"version":"58520d6ae3a339cd22ffc528b50b21e4e8f5247a87913eb1c697c1af62eb0395","impliedFormat":1},{"version":"186614c0f9ca0ec3cfa988f1dc01c6f392a798710072ff4bdf20ce56e09a6dfd","impliedFormat":1},{"version":"2de7a21c92226fb8abbeed7a0a9bd8aa6d37e4c68a8c7ff7938c644267e9fcc1","impliedFormat":1},{"version":"6d6070c5c81ba0bfe58988c69e3ba3149fc86421fd383f253aeb071cbf29cd41","impliedFormat":1},{"version":"48dab0d6e633b8052e7eaa0efb0bb3d58a733777b248765eafcb0b0349439834","impliedFormat":1},{"version":"6e4b2642721462bf62d19593770659f268a6ca1e9fd15543747efb3ac471cee3","impliedFormat":1},{"version":"269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","impliedFormat":1},{"version":"8258e69a3b0de494ea55eeea7a4d3216ac112c12006c74dfd381c0d5e42a2607","impliedFormat":1},{"version":"cdaaf046791d7d588f28f32197c5d6acc43343e62540a67eed194c9c20535fdc","impliedFormat":1},{"version":"4b1ff655bd8edd879dd4f04f15338ce0109f58ccb424165d44fa07e7ea39c4bf","impliedFormat":1},{"version":"6fa3d3f427475a5d21fed826d6457e7f9ee3a0abeb3124fc41f385f112368d2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"b85e57e102a1df14980b46d745c9fe8e16a9b0a69a98fb1a2c558c9137ab30d6","affectsGlobalScope":true,"impliedFormat":1},{"version":"4e228e78c1e9b0a75c70588d59288f63a6258e8b1fe4a67b0c53fe03461421d9","impliedFormat":1},{"version":"e5ce801ce5e85d7281807d8a65a21ee9767c122c87da262891582b4afead5ec0","impliedFormat":1},{"version":"76a89af04f2ba1807309320dab5169c0d1243b80738b4a2005989e40a136733e","impliedFormat":1},{"version":"c045b664abf3fc2a4750fa96117ab2735e4ed45ddd571b2a6a91b9917e231a02","impliedFormat":1},{"version":"057d7f56aacd575a6240838d2684d34a340acde815f84190ea5e9afd611aeee6","affectsGlobalScope":true,"impliedFormat":1},{"version":"40ed27386f21a739bd0d2e2cfed563760588f2aeaa7ad149c1bf1454a7ec743a","affectsGlobalScope":true,"impliedFormat":1},{"version":"d1ef1d8516286380fd0a6f498f1650d374a8cb5f03d91633b6124e4fb8fb131d","impliedFormat":1},{"version":"6244a29671c12a54fc5b1393dde60bac655bd778d84758a4db847f684d4da3a5","impliedFormat":1},{"version":"8bc733ffd630d49d495663bfecf590281c8f5412b33657430ab471b558206705","impliedFormat":1},{"version":"171c1840775746917e7b813c9df0fc0b84876f96623a6cfef3b3de7ea816b8c5","affectsGlobalScope":true,"impliedFormat":1},{"version":"f2b9440f98d6f94c8105883a2b65aee2fce0248f71f41beafd0a80636f3a565d","impliedFormat":1},{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true,"impliedFormat":1},{"version":"872201e32a629152e8bc7118e8977ac37a1a62ab6756c2ac3e6b53859f0a8fa1","impliedFormat":1},{"version":"d88dc05fd345b7a4e1816bbfd2dd087eefa9b9e36096818c2348f5b246971125","impliedFormat":1},{"version":"5160b723c0760daa1de0ead3bc12f9a5a186654a120146fd158e4bcffdff7fff","impliedFormat":1},{"version":"ad10c3ee8fb00beacd77766ef76ed7d38a33005cd14d686c205812b43e988d68","impliedFormat":1},{"version":"c77e98f9940135457b5a12081418c52b47e0715b2abfb39661416e02c4c230b7","impliedFormat":1},{"version":"14505042d1ce009a0ff30c82405478e47dfbaf8fdfb439ffebf0192ae8fb6806","impliedFormat":1},{"version":"1ead640861cb88cda68781bb48857561ccf3dc29c1d910ddfd7210a64a59a8d6","impliedFormat":1},{"version":"06a9c1725ac0d79f625c185ea35a4283f37b138d9d4b7637962b4e5aa4f84196","impliedFormat":1},{"version":"44fb4b41f9891fd3b88e75aa31c766da599ec87e4c47385392fdf108780bcd67","impliedFormat":1},{"version":"bc61e949f7eb6ce4d266be816d6b8227483a0c01b32ca5918006d87d6701b0ad","impliedFormat":1},{"version":"2e97cb2213a4bb8bbbc4f78ece4304d56cf4c4993eca8b844b4fea5f2fefa034","impliedFormat":1},{"version":"cd9d72081d4fbbeb75316681280cd5a730b3085c647b7095b13a8b41a99ab783","impliedFormat":1},{"version":"a0a2a4807d5a5293f6a8f30583240e9a5f4b0dc883a9db96d6d5c8feeb5ce4ac","impliedFormat":1},{"version":"f9380932ce1ad0107c2d53f5d424cdbb0377d3784c9458c3f4c3bff490890d80","impliedFormat":1},{"version":"e5b5adbb04e537ae4271ed384f77ae04c1cb4898b4c94f83c6b24b2c111a0a16","impliedFormat":1},{"version":"1327ebffd1c29b5973c7d76db45d0fce2fd3328ca68d737638b0deaa1fd11e7a","signature":"30450bb3a48f42ca7109fa47055b302d6777657c54db7a5346983900ff75ce97"},{"version":"1549eea3c3193d5efed4ee6861c68911c086bc42f6d1807bb5802c0e219abfc8","impliedFormat":99},{"version":"b506aaed3a8eb1ea7a2892c15ca062693649678bf275ed3b89847702fdeb422d","impliedFormat":1},{"version":"2749e958351a656a6c78798dbd0ef31c1fc50df716bdbdf4ee9d32150a6064bd","impliedFormat":1},{"version":"2d1bd6cb2c81efa4fde6b3e7c22a39073cc6511959b420a95d48fe31e0a29e85","impliedFormat":1},{"version":"9c613258083de5cf38349116028431ec05519134725637ebf9a618a32989f107","impliedFormat":1},{"version":"368349832ed7ddaea6a48533a605606b5dc55f1f1f3ec5e11e056f24f460c6d5","impliedFormat":1},{"version":"dcaa695f7d4f602be46e225c680f89b33f2cbc42a627bf4fae4acc942c9a7d00","impliedFormat":1},{"version":"3d8a6092720343f460c0ed8dd91401337ef48abcfc8b4617c130937ccce8e9e4","impliedFormat":1},{"version":"0437c929327c1eb0651a8c7bd9ecd8c971f8ca94f12fe6038627c5232e1de575","impliedFormat":1},{"version":"dcb0c0600cce0b6a40ef160f1d963aac1041d22f9359995fad840d7c82ff3736","impliedFormat":1},{"version":"5096f4cf6f96c3bb77bd63ce62f31cea35e63e09539d522062f3eff9e699e153","impliedFormat":1},{"version":"a7dd9317fd00d666dfa14e6fd3c613b09a6d8689c277f5d989318985270aca14","impliedFormat":1},{"version":"01979b1a1e352b2349793ce0bad475ce2fea5a7c81d21b0caa36ed3745b428f1","impliedFormat":1},{"version":"17b9272b084dc20020ca084c895afe5b203d17f532b22609ece0b87e0aaf0012","signature":"d184d2d4ef321978fa5320d94a4193fdcae49e0ca32c08ba54a5cb6b0368b035"},{"version":"cbd8f7cbc0832353a1db0c80ffe50f4d623bcf992faac71b4aef9e0aa6f4f33e","impliedFormat":99},{"version":"643b5be3fb728581cdb973f3937606d4925a5270d367a38366e4ddc6b30ba688","impliedFormat":99},{"version":"f7b9aaeace9a3837c47fad74de94ba117751951904a6cb6f6a2340ca3a5052d2","impliedFormat":99},{"version":"b59a8f409202638d6530f1e9746035717925f196f8350ef188535d6b6f07ac30","impliedFormat":99},{"version":"10752162e9a90e7f4e6f92d096706911e209f5e6026bb0fe788b9979bf0c807b","impliedFormat":99},{"version":"91010341cfcb3809686aefe12ceaa794087fcd0c7d4d72fc81d567535c51f7b9","impliedFormat":99},{"version":"a5fa720bdcd335d6f01999c7f4c93fb00447782db3c2fad005cc775b1b37b684","impliedFormat":99},{"version":"c8657b2bf39dbb8bbe8223ca66b76e33c83a649c7655fd7042b50b50cf805c96","impliedFormat":99},{"version":"18282a2d197d5d3b187d6cfe784b0bfeb36dc3caed79d24705c284506c6a7937","impliedFormat":99},{"version":"bc7f372120474ef5e195f4c5627aa9136af9dfc52c3e81f5404641f3eb921b20","impliedFormat":99},{"version":"c897edb7e0074c2cb1a118ad1f144d4095a76e13023c1c9d31499a97f0943c6d","impliedFormat":99},{"version":"5123f400963c1ae260ba78bd27826dd5ada91cc3df088a913fb709906c2f0fed","impliedFormat":99},{"version":"f6c69d4211c1c0dc144101b7d564eec8992315a5b652108ab44e617fdfb64a9f","impliedFormat":99},{"version":"3a0b914cd5a33a695925999bc0e20988f625ff92224224a60356531cc248324b","impliedFormat":99},{"version":"3b9ef4448417e777778007a2abbfb171fbb400c4012560331330c89a8fd08599","impliedFormat":99},{"version":"e75b35bbd7d93433f58e2bc2c40b5054f8c33197509b61b2ba923e7b84b446d3","impliedFormat":99},{"version":"80ae4448e40828f253d49dd0cba14ddaa948c4988d54d6bbd558015c4727f1f7","impliedFormat":99},{"version":"36ccd9bc1c33bf3cce297133d37acfc376d89ea0aff3111cf1792498ae5732d4","impliedFormat":99},{"version":"66ef9bd718776792705d01be029559b4f13c7978727dc364318fde5645d26abc","impliedFormat":99},{"version":"a5bb15e8903456dedd2a0c6c7f29b520b75a02fc44b36248fbac98e8b3106f2e","impliedFormat":99},{"version":"7087a77f8804d330429778346f2adf8418a4641b159f621938604aa20386887a","impliedFormat":99},{"version":"6d2e4114ccd05fb0cd657cfb73419eeb7e1464446aabfe4e652d4ad460c1fd1a","impliedFormat":99},{"version":"a52173b00ca45c107162f9f5501af38362ef8c587e76e5813f1aeb1f54772aec","impliedFormat":99},{"version":"8478f046870fe3053785d1fdb8fc3d4972437fbb230771841eb3945edda1cdce","impliedFormat":99},{"version":"8827ca3cd0a35d4a2da2b460620586a68dc0681b19f08559bc382f453ae0a915","impliedFormat":99},{"version":"5c56eea87bcede67b8df6a08185aaa023080fe74f21e7d262e5e0c5885ea6747","impliedFormat":99},{"version":"2a6140dea5f4014fbf2c301bcefcac865d9b5354ccc09865b309ec25b170eb24","impliedFormat":99},{"version":"62fbeac38ecc6d7b5ffe8b9c10c60a519963c8bc5a06d7260446a45fe920c01f","impliedFormat":99},{"version":"782f6c7ba1fa143a493e014cc02186c0cf19ce12189bcba7745c614e17e11a38","impliedFormat":99},{"version":"ba28b11eba525914120dda140fc01e3db951591724287eef1a6d061ee0a13ea0","impliedFormat":99},{"version":"6cdb8c1473687522f8ef65e1620bb8d703a02f4c570c662bd99ebf442ec9c3ff","impliedFormat":99},{"version":"799e4c2b1aae2c8531a20544168c528c7994f13bbce20f4813e30cde1ca72cb9","impliedFormat":99},{"version":"804a7dbd4c64f201d927b23b8563affa0325ec4bd3eeab339933cc85fcbbe4c1","impliedFormat":99},{"version":"c0a7ac0e0b21d67124311e0a70138df950cfa22360ae582c5d7b95a9a31f3436","impliedFormat":99},{"version":"c39a02bcdde4e5cf742febb47995c209f651249aa3f339d8981b47eb157dbc7f","impliedFormat":99},{"version":"3b63f1706adba31dd86669c3745ce127e1d80b83b1376942a5ae3653089b526f","impliedFormat":99},{"version":"d93c86ac706e8a3eb5c4fd2c3965d793c192438b44b21f94a422029d037113cd","impliedFormat":99},{"version":"c775b9469b2cbb895386691568a08c5f07e011d79531c79cb65f89355d324339","impliedFormat":99},{"version":"f8b830bc7cf2ebcadb5381cb0965e9e2e5e1006a96d5569729fc8eae99f1e02b","impliedFormat":99},{"version":"6465f2a53c52cb1cf228a7eeab54e3380b8971fed677deb08fa082e72854e24c","impliedFormat":99},{"version":"ea19638a70714d118d84c50b79220be781a8a95c62b79e1b695f6ea3c8f9306e","impliedFormat":99},{"version":"74965fc49475caca96b090c472f2c3e2085e3be05ce34639e9aabeccd5fb71aa","impliedFormat":99},{"version":"9640153ef1838657c1de17d486d9755fb714407156ec0be12acd132db4732c7f","impliedFormat":99},{"version":"b21157929842b9593200c73299fffde810be1b6c2554437e319db0025ecd53ae","impliedFormat":99},{"version":"cb929086d0d062bb948a1726e87c604db6387d885a846838a4da40e006c51deb","impliedFormat":99},{"version":"cb2e0b454aed00d0109fa243d681650916750a960736755edb673d4c2fc495dc","impliedFormat":99},{"version":"2a5c6f30ace32a85b24dec0f03525ed0a40190104be5876bd9107f92cca0166b","impliedFormat":99},{"version":"4d752856defdcbb39e2915429f85a92aac94406eb1bdef2855b908dde5bc013b","impliedFormat":99},{"version":"515caaccdd09e635befbfd45f023015a42d375e0536c9786412cf4dab847ff65","impliedFormat":99},{"version":"6cde23545d1e8d78b222c594e0a66de065311e0c6b0e3989feffb5c7f6b66560","impliedFormat":99},{"version":"a025111523c3c2c24484c1af1bfcab340490817de7e4b247b700ca7ee203a5cc","impliedFormat":99},{"version":"d7781fc81737645eeef3b7107c6796f95fb4791cb1a908b1f0254117b2536477","impliedFormat":99},{"version":"156d4829532c7d26f824ab7bb26b1eced1bfaf5711d426e95357004c43f40d98","impliedFormat":99},{"version":"2d9a0ac7d80da8b003ac92445f47891c3acdca1517fb0a0ca3006e2d71e1d2ab","impliedFormat":99},{"version":"5c62b984997b2e15f2d2ae0f0202121738db19901dc2bad5fe6a7a2d6af871d3","impliedFormat":99},{"version":"8c04e9d03324f465d5fb381371c06799cd06234f2aa83bdf4318cb9728132b80","impliedFormat":99},{"version":"616102e59c37f0f84d209b865f84fb186a29bb0bf112bd975be097113f854b89","impliedFormat":99},{"version":"a14590df3ef464f8a9dff9514df70c7aeff05c999f447e761ec13b8158a6cab0","impliedFormat":99},{"version":"98cbb6e3aa1b6610e7234ff6afa723b9cb52caf19ecb67cf1d96b04aa72b8f88","impliedFormat":99},{"version":"9c8c50b4d0c83256193970e68a1c495b09e92ef1b8e48c38e1e9cb05122014b9","impliedFormat":99},{"version":"f9575d2a80566ba8d17d2260526ffb81907386aa7cb21508888fb2e967911dca","impliedFormat":99},{"version":"d388e40b946609b83a5df1a1d12a0ea77168ee2407f28eac6958d6638a3fbf69","impliedFormat":99},{"version":"83e8adc1946281f15747109c98bd6af5ce3853f3693263419707510b704b70e5","impliedFormat":99},{"version":"64fb32566d6ac361bdff2fafb937b67ee96b0f4b0ea835c2164620ec2ad8ea09","impliedFormat":99},{"version":"678b6be72cdcec74f602d366fef05ba709aa60816d4abf2a4faff64a68cdfc1f","impliedFormat":99},{"version":"b0b8ac2d71ea2251f4f513c7d644db07a46446a6e4bccbcc23ccbefbe9ac3ac4","impliedFormat":99},{"version":"c7cae4f5befd90da675906c456cc35244edad7cdcedb51fb8f94d576f2b52e5e","impliedFormat":99},{"version":"a00e19c6ad43bfc4daf759038e309b797b59cc532d68f4556083022ed1d4b134","impliedFormat":99},{"version":"c4e720b6dd8053526bedd57807a9914e45bb2ffbda801145a086b93cf1cda6d5","impliedFormat":99},{"version":"1dc465a4431aaa00bb80452b26aa7e7ec33aca666e4256c271bdf04f18fef54d","impliedFormat":99},{"version":"ea5916d20a81cc0fd49bd783fce0837b690f2d39e456d979bc4b912cb89ceefc","impliedFormat":99},{"version":"dccc0a4cbe7cbabcf629ef783d3226ed28649f1215eb577a2e2cdb1129347a37","impliedFormat":99},{"version":"add54a06a7a910f6ed0195282144d58f24e375b7d16bd4a5c5b9d91bb4b5e184","impliedFormat":99},{"version":"dc03aa8332b32c2d7cd0f4f72b4a8cc61bbc2806eb18fa841ec3de56b8e806a6","impliedFormat":99},{"version":"dd56e1c623e5b14260b6d817f4f26d6cc63c77f5bf55321306d118617fc20c7d","impliedFormat":99},{"version":"d4cb93b91ab77070c8baebdcc5c951954ee219900795cc7e34aaef6be0081a2b","impliedFormat":99},{"version":"93ff68f1f2b1be14e488d472820e2cbc3c1744e4b55aea9a12288f612e8cf56f","impliedFormat":99},{"version":"7e4d2c8b02fc2529a60bd495322092644b5cf2f391b10bea4bcae8efea227c32","impliedFormat":99},{"version":"219b5d42961185874397f62f12d64e74e0825d260054984e0248010de538015e","impliedFormat":99},{"version":"27b5570022c0f24a093c0718de58a4f2d2b4124df0f7ff9b9786874c84c8af27","impliedFormat":99},{"version":"ad37fb454bd70dd332bb8b5047fbc0cf00ddfc48972d969a8530ab44998b7e70","impliedFormat":99},{"version":"265bdbd67761e88d8be1d91a21ec53bb8915e769a71bdc3f0e1e48fdda0a4c6e","impliedFormat":99},{"version":"817e174de32fb2f0d55d835c184c1248877c639885fcaed66bab759ff8be1b59","impliedFormat":99},{"version":"ea76d1231ea876a2a352eae09d90ae6ef20126052e0adfdc691437d624ebcc47","impliedFormat":99},{"version":"0961671995b68a718e081179cfa23c89410b97031880cf0fea203f702193385a","impliedFormat":99},{"version":"b6592f9a1102da83ba752d678e5e94af9443bf1ab70666f2f756ba1a85b8adfc","impliedFormat":99},{"version":"d1c933acc6c2847d38c7a29c3d154ef5a6b51e2ad728f682e47717524683e563","impliedFormat":99},{"version":"44380b6f061bbb7d7b81b3d9973c9a18b176e456eee4316a56c9e2932df77bfd","impliedFormat":99},{"version":"e558775330d82e3a2e16a2442c1332572f3cb269a545de3952ed226473e4ccdd","impliedFormat":99},{"version":"32d5ec19fbe22a610e11aa721d9947c1249e59a5b8e68f864d954f68795982d1","impliedFormat":99},{"version":"e1fa85a34e9710a03fb4e68a8b318b50cde979325a874a311c0429be2e9a6380","impliedFormat":99},{"version":"998c9ae7ae683f16a68d9204b8dea071377d886ed649f7da777dce408ede67b7","impliedFormat":99},{"version":"e02fe9a276b87b4c10c56cbcee81f8c6437d21a0a68eeb705e23105c3620677e","impliedFormat":99},{"version":"d56bc539844eceaaae11714c214add744ace0227da77c91e62d8c3cd0ee78964","impliedFormat":99},{"version":"9199f6ead2ae205b4a0efe8b427706b7b9856f2fb51587ca25e9161cfee2b163","impliedFormat":99},{"version":"120a62730ef5b8b61b4a82005c421506d0bf4f5a2fbe84b88149c79c894900da","impliedFormat":99},{"version":"3ca2a4b5f57c480c798f8310b3d3c10dc24fa73d5618889a27835eb80f783fa3","impliedFormat":99},{"version":"faf92d569360b567c70c11b08aadd997fb2ca1847687f370eaea8eda19f807f2","impliedFormat":99},{"version":"38e878406954753d87c2b0db8b5146da5abb86c44139526cba2046cc70fbd1d4","impliedFormat":99},{"version":"c500d215a2e0490d77f0f926507adac154bfc5cfcb855ffdbe2c600e67fbf36f","impliedFormat":99},{"version":"6a22003e006988f31654d8bf884208ff753d64bcb980a89e4c5eb933bf446d09","impliedFormat":99},{"version":"3a8493e70ee5fc14e8e9a028e5e3b1df79acbd4bc4ded50725d2ad4927a9c101","impliedFormat":99},{"version":"7f02dfc714a76c78325cdfbc138b57531103490dc9d88affdb3f4a54fdd879a0","impliedFormat":99},{"version":"d3fcf2df688ce5c6d8b90d8c9057b505042342ce97e2dccd26f02a185a7bb8d3","impliedFormat":1},{"version":"4f2fd8612d69a167ff721a17766c06b69823bed7da629a4c2a177e230c4f6b30","signature":"05f0c8697e687c5b3e96af1382b1d608e108ffb0e125ec1a9179cf95e02a44e2"},{"version":"294f3068c86cd197964cae1bc1bbaee41592a2f5301012c41a5fc46a7932e9ab","signature":"9a5aa896785578a0bcfa6347e7fa6b881143728b4a62968f98f954dd34b91d57"},{"version":"9a20dddd78d81631f2fcedd841bbae67e3ab12173a4df0fa900bac9f563a8976","signature":"a84fd056d513809fd4ee2e1e86db3416ad8a3bda66b1799c3b1ef79021f40106"},{"version":"97d5a77f9d052422b6aeaaed289fb4d6cab645e0a57ff1057f6edd84438c0e63","signature":"07cb0985f6d65d8370ed158dfd67afc75c3c3f97fd7f0bb91cef4dfa28949b8f"},{"version":"5807fe77f8264c43e5c9ad7c00043a490afb82d540e99ac04062589d17a2b47f","signature":"4ece736eebbeb0689b6e12ab7230ec54d089cc47d6df225b3dcb52d0d692c938"},{"version":"17be9a8e4f4d9cb6ef784cf388d12f3e6f45606f79148f7bee79adc623bb1bdf","signature":"a4a7c408492a0b69f51f569b7725a632d257d1d6b4040c043edb6e579ebdc823"},{"version":"a589f9f052276a3fc00b75e62f73b93ea568fce3e935b86ed7052945f99d9dc2","impliedFormat":1},{"version":"17230b34bb564a3a2e36f9d3985372ccab4ad1722df2c43f7c5c2b553f68e5db","impliedFormat":1},{"version":"6e5c9272f6b3783be7bdddaf207cccdb8e033be3d14c5beacc03ae9d27d50929","impliedFormat":1},{"version":"9b4f7ff9681448c72abe38ea8eefd7ffe0c3aefe495137f02012a08801373f71","impliedFormat":1},{"version":"0dfe35191a04e8f9dc7caeb9f52f2ee07402736563d12cbccd15fb5f31ac877f","impliedFormat":1},{"version":"53e8c672c4a6af14dd4c08082e6e30d3c3b78ec0d3f9cd34f4177be4696070da","impliedFormat":1},{"version":"4416b35cac42a23ea7cc4c6bff46822bf3b663281d35df9753db96e0f955e797","impliedFormat":1},{"version":"f1e7b4d34de987c6912c0dd5710b6995abb587873edfb71ff9e549ca01972c5a","impliedFormat":99},{"version":"ec41840406c49dc3a8ff85f4ea3af3045b559fe4359c1440091ffd4c6e68aaab","signature":"0811c36e5d444c0b11a69e55bef298d84d623ce245307105f53a7f0a1174c07a"},{"version":"355f7a2997d748022c256c6ee28da44f272e4a1c15501b0b0a6f01f0793bfb8a","signature":"099ec59bdf7134704a6798a507f38244fb86e8d52dc5534b765d5b8bfa57beb0"},{"version":"0647c2187081420bee6825d45375dc6c363fc4448c23c21e8bf2d35843b7d8de","signature":"cb7e96bd5f6aae5194aeaef329b2fe5eb343924b9e38fd9a75c84c24d8cff76c"},{"version":"da257800e83bfa501a5e7024df2f173cc9710be871956ddc1d3f3e721b13a5d2","signature":"353268d44b6cd9dd92129e4ecf59d3d87e2b4e471eef3ab31be5af9d038e1e25"},{"version":"42c17bf4b6657c115b9a5b95d9c8e6bc3b2d743853fe1404368a022fd288a57c","signature":"8e3ec104b010eb9a6d8b81d33fab8dafa1b43781c1994f028d326aab5f13f797"},{"version":"9d23803d8a7064912b7ae4162798cda5fa8cfecb30df7b1d87d67769a6e90202","signature":"ddf7b383a1eb8bec010984766547ab5ee73645429aacf3689eddad0d28c4858d"},{"version":"019041d6c503f4a841ddca67e37d8d8759de23afa2321192d5edb934fe02e9df","signature":"a73ca21c8f9fdbdf106a52771b398709b546acbf5f50cdd6d81f178d05fd75af"},{"version":"7ed1a2446615abc14adb60e66c53bc9354d4ef0592fb79d04e8434d8c15d304e","signature":"10444aa7df7a04c116376c94f19b6cc5aeeea12d3d2b6d4bab6d4e34c455b9ba"},{"version":"8ad3b653d32b9ef5f77178e7775483686df96ec65f7bb385e22ccdd56419e0fe","signature":"4dc3e9fdcf7b66db157e06d017fabb30ef5628b319e03ff88f6a6f9262d34ed1"},{"version":"0d6997a2f34ff2f09b1a51bf72bc53fc8282c7cfad1c2cd2f8dd0111322b368d","signature":"62c5525021a8f469828c8915695a5aa2b162611b296a015b3615fcddd739652f"},{"version":"0380a829a4a1605bb991345f997ba8404b711d82f68656d5c3c9ed222226c4af","signature":"09f5168266ac7a8bc42838d2c7b04ad7a71e717138ad883741df2f13a96ce014"},{"version":"773d27d11120c838c71fa824abe6fdb0a3fb91a46bbb3cb0b4e249a17e6bf043","signature":"1a5b71ff5a81d1cafa5aefa8070c3ebc2cd325aa400d517391eda04c7270cd97"},{"version":"35761b03509b5b775989fb31c4cefd90b867419c81bd350705e96573d3a7c8c5","signature":"f0c118a08dfb999e80b97f92ce84d69416d47058b677b8942c159cee71e733aa"},{"version":"8afc465d7a9d184d166145c0c474cf78ba96b7f8809918f95d51ba6dfbada23a","signature":"edd7225413390da4626b032e5e6bebc301f7e900bac64f352c9a4587cc0c736b"},{"version":"d2e64a6f25013b099e83bfadb2c388d7bef3e8f3fdb25528225bbc841e7e7e3a","impliedFormat":99},{"version":"369ba5259e66ca8c7d35e3234f7a2a0863a770fdb8266505747c65cf346a0804","impliedFormat":99},{"version":"64d984f55025daf604f670b7dfd090ea765f2098aee871174ef2ee3e94479098","impliedFormat":99},{"version":"f147b6710441cf3ec3234adf63b0593ce5e8c9b692959d21d3babc8454bcf743","impliedFormat":99},{"version":"e96d5373a66c2cfbbc7e6642cf274055aa2c7ff6bd37be7480c66faf9804db6d","impliedFormat":99},{"version":"02bcdd7a76c5c1c485cbf05626d24c86ac8f9a1d8dc31f8924108bbaa4cf3ba9","impliedFormat":99},{"version":"c874ab6feac6e0fdf9142727c9a876065777a5392f14b0bbcf869b1e69eb46b5","impliedFormat":99},{"version":"7c553fc9e34773ddbaabe0fa1367d4b109101d0868a008f11042bee24b5a925d","impliedFormat":99},{"version":"9962ce696fbdce2421d883ca4b062a54f982496625437ae4d3633376c5ad4a80","impliedFormat":99},{"version":"e3ea467c4a7f743f3548c9ed61300591965b1d12c08c8bb9aaff8a002ba95fce","impliedFormat":99},{"version":"4c17183a07a63bea2653fbfc0a942b027160ddbee823024789a415f9589de327","impliedFormat":99},{"version":"3e2203c892297ea44b87470fde51b3d48cfe3eeb6901995de429539462894464","impliedFormat":99},{"version":"c84bf7a4abc5e7fdf45971a71b25b0e0d34ccd5e720a866dd78bb71d60d41a3f","impliedFormat":99},{"version":"e2b48abff5a8adc6bb1cd13a702b9ef05e6045a98e7cfa95a8779b53b6d0e69d","impliedFormat":1},{"version":"a02d26c056491b1ddfa53a671ad60ce852969b369f0e71993dbac8ddcf0d038b","affectsGlobalScope":true,"impliedFormat":1},{"version":"a660aa95476042d3fdcc1343cf6bb8fdf24772d31712b1db321c5a4dcc325434","impliedFormat":1},{"version":"282f98006ed7fa9bb2cd9bdbe2524595cfc4bcd58a0bb3232e4519f2138df811","impliedFormat":1},{"version":"6222e987b58abfe92597e1273ad7233626285bc2d78409d4a7b113d81a83496b","impliedFormat":1},{"version":"cbe726263ae9a7bf32352380f7e8ab66ee25b3457137e316929269c19e18a2be","impliedFormat":1},{"version":"8b96046bf5fb0a815cba6b0880d9f97b7f3a93cf187e8dcfe8e2792e97f38f87","impliedFormat":99},{"version":"bacf2c84cf448b2cd02c717ad46c3d7fd530e0c91282888c923ad64810a4d511","affectsGlobalScope":true,"impliedFormat":1},{"version":"402e5c534fb2b85fa771170595db3ac0dd532112c8fa44fc23f233bc6967488b","impliedFormat":1},{"version":"8885cf05f3e2abf117590bbb951dcf6359e3e5ac462af1c901cfd24c6a6472e2","impliedFormat":1},{"version":"33f3718dababfc26dfd9832c150149ea4e934f255130f8c118a59ae69e5ed441","impliedFormat":1},{"version":"e61df3640a38d535fd4bc9f4a53aef17c296b58dc4b6394fd576b808dd2fe5e6","impliedFormat":1},{"version":"459920181700cec8cbdf2a5faca127f3f17fd8dd9d9e577ed3f5f3af5d12a2e4","impliedFormat":1},{"version":"4719c209b9c00b579553859407a7e5dcfaa1c472994bd62aa5dd3cc0757eb077","impliedFormat":1},{"version":"7ec359bbc29b69d4063fe7dad0baaf35f1856f914db16b3f4f6e3e1bca4099fa","impliedFormat":1},{"version":"70790a7f0040993ca66ab8a07a059a0f8256e7bb57d968ae945f696cbff4ac7a","impliedFormat":1},{"version":"d1b9a81e99a0050ca7f2d98d7eedc6cda768f0eb9fa90b602e7107433e64c04c","impliedFormat":1},{"version":"a022503e75d6953d0e82c2c564508a5c7f8556fad5d7f971372d2d40479e4034","impliedFormat":1},{"version":"b215c4f0096f108020f666ffcc1f072c81e9f2f95464e894a5d5f34c5ea2a8b1","impliedFormat":1},{"version":"644491cde678bd462bb922c1d0cfab8f17d626b195ccb7f008612dc31f445d2d","impliedFormat":1},{"version":"dfe54dab1fa4961a6bcfba68c4ca955f8b5bbeb5f2ab3c915aa7adaa2eabc03a","impliedFormat":1},{"version":"1bb61aa2f08ab4506d41dbe16c5f3f5010f014bbf46fa3d715c0cbe3b00f4e1c","impliedFormat":1},{"version":"47865c5e695a382a916b1eedda1b6523145426e48a2eae4647e96b3b5e52024f","impliedFormat":1},{"version":"e42820cd611b15910c204cd133f692dcd602532b39317d4f2a19389b27e6f03d","impliedFormat":1},{"version":"331b8f71bfae1df25d564f5ea9ee65a0d847c4a94baa45925b6f38c55c7039bf","impliedFormat":1},{"version":"2a771d907aebf9391ac1f50e4ad37952943515eeea0dcc7e78aa08f508294668","impliedFormat":1},{"version":"0146fd6262c3fd3da51cb0254bb6b9a4e42931eb2f56329edd4c199cb9aaf804","impliedFormat":1},{"version":"183f480885db5caa5a8acb833c2be04f98056bdcc5fb29e969ff86e07efe57ab","impliedFormat":99},{"version":"82e687ebd99518bc63ea04b0c3810fb6e50aa6942decd0ca6f7a56d9b9a212a6","impliedFormat":99},{"version":"7f698624bbbb060ece7c0e51b7236520ebada74b747d7523c7df376453ed6fea","impliedFormat":1},{"version":"8f07f2b6514744ac96e51d7cb8518c0f4de319471237ea10cf688b8d0e9d0225","impliedFormat":1},{"version":"257b83faa134d971c738a6b9e4c47e59bb7b23274719d92197580dd662bfafc3","impliedFormat":99},{"version":"e01ea380015ed698c3c0e2ccd0db72f3fc3ef1abc4519f122aa1c1a8d419a505","impliedFormat":99},{"version":"5ada1f8a9580c0f7478fe03ae3e07e958f0b79bdfb9dd50eeb98c1324f40011b","impliedFormat":99},{"version":"a8301dc90b4bd9fba333226ee0f1681aeeff1bd90233a8f647e687cb4b7d3521","impliedFormat":99},{"version":"e3225dc0bec183183509d290f641786245e6652bc3dce755f7ef404060693c35","impliedFormat":99},{"version":"09a03870ed8c55d7453bc9ad684df88965f2f770f987481ca71b8a09be5205bc","impliedFormat":99},{"version":"e6233e1c976265e85aa8ad76c3881febe6264cb06ae3136f0257e1eab4a6cc5a","impliedFormat":99},{"version":"2cdd50ddc49e2d608ee848fc4ab0db9a2716624fabb4209c7c683d87e54d79c5","impliedFormat":99},{"version":"e431d664338b8470abb1750d699c7dfcebb1a25434559ef85bb96f1e82de5972","impliedFormat":99},{"version":"2c4254139d037c3caca66ce291c1308c1b5092cfcb151eb25980db932dd3b01a","impliedFormat":99},{"version":"970ae00ed018cb96352dc3f37355ef9c2d9f8aa94d7174ccd6d0ed855e462097","impliedFormat":99},{"version":"d2f8dee457ef7660b604226d471d55d927c3051766bdd80353553837492635c3","impliedFormat":99},{"version":"110a503289a2ef76141ffff3ffceb9a1c3662c32748eb9f6777a2bd0866d6fb1","impliedFormat":99},{"version":"69bf2422313487956e4dacf049f30cb91b34968912058d244cb19e4baa24da97","impliedFormat":99},{"version":"310e6b62c493ce991624169a1c1904015769d947be88dc67e00adc7ebebcfa87","impliedFormat":99},{"version":"62fefda288160bf6e435b21cc03d3fbac11193d8d3bd0e82d86623cca7691c29","impliedFormat":99},{"version":"fcc46a8bcbf9bef21023bba1995160a25f0bc590ca3563ec44c315b4f4c1b18a","impliedFormat":99},{"version":"0309a01650023994ed96edbd675ea4fdc3779a823ce716ad876cc77afb792b62","impliedFormat":99},{"version":"f13d7beeea58e219daef3a40e0dc4f2bd7d9581ac04cedec236102a12dfd2090","impliedFormat":99},{"version":"669573548930fb7d0a0761b827e203dc623581e21febf0be80fb02414f217d74","impliedFormat":99},{"version":"48c411efce1848d1ed55de41d7deb93cbf7c04080912fd87aa517ed25ef42639","affectsGlobalScope":true,"impliedFormat":1},{"version":"a094636c05f3e75cb072684dd42cd25a4c1324bec4a866706c85c04cecd49613","affectsGlobalScope":true,"impliedFormat":99},{"version":"fe2d63fcfdde197391b6b70daf7be8c02a60afa90754a5f4a04bdc367f62793d","impliedFormat":99},{"version":"9a3e2c85ec1ab7a0874a19814cc73c691b716282cb727914093089c5a8475955","impliedFormat":99},{"version":"cbdc781d2429935c9c42acd680f2a53a9f633e8de03290ec6ea818e4f7bff19a","impliedFormat":99},{"version":"9f6d9f5dd710922f82f69abf9a324e28122b5f31ae6f6ce78427716db30a377e","impliedFormat":99},{"version":"ac2414a284bdecfd6ab7b87578744ab056cd04dd574b17853cd76830ef5b72f2","impliedFormat":99},{"version":"c3f921bbc9d2e65bd503a56fbc66da910e68467baedb0b9db0cc939e1876c0d7","impliedFormat":99},{"version":"c30a41267fc04c6518b17e55dcb2b810f267af4314b0b6d7df1c33a76ce1b330","impliedFormat":1},{"version":"72422d0bac4076912385d0c10911b82e4694fc106e2d70added091f88f0824ba","impliedFormat":1},{"version":"da251b82c25bee1d93f9fd80c5a61d945da4f708ca21285541d7aff83ecb8200","impliedFormat":1},{"version":"4c8ca51077f382498f47074cf304d654aba5d362416d4f809dfdd5d4f6b3aaca","impliedFormat":1},{"version":"c6bddf16578495abc8b5546850b047f30c4b5a2a2b7fecefc0e11a44a6e91399","impliedFormat":1},{"version":"0cc99fbb161d78729d71fad66c6c363e3095862d6277160f29fa960744b785c6","affectsGlobalScope":true,"impliedFormat":99},{"version":"0fd12c2a26a357b9298426dbd06f2e7447091bfe749c0ed230aa0aed3efb813d","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"13d43666c55b9153815a92c4d3f807833df3491ebe4009cd46c3879b9a3f5d1a","affectsGlobalScope":true,"impliedFormat":99}],"root":[160,174,[279,284],[293,306],385],"options":{"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"module":99,"outDir":"./types","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":99},"referencedMap":[[147,1],[151,2],[81,3],[154,4],[155,5],[156,6],[157,6],[87,7],[149,8],[82,9],[80,3],[150,10],[88,11],[89,12],[83,13],[84,14],[90,3],[86,13],[91,8],[148,15],[153,16],[152,3],[159,17],[158,3],[85,18],[320,3],[92,19],[93,19],[95,20],[96,21],[97,22],[98,23],[99,24],[100,25],[101,26],[102,27],[103,28],[104,29],[105,29],[107,30],[106,31],[108,30],[109,32],[110,33],[94,34],[144,3],[111,35],[112,36],[113,37],[145,38],[114,39],[115,40],[116,41],[117,42],[118,43],[119,44],[120,45],[121,46],[122,47],[123,48],[124,48],[125,49],[126,50],[128,51],[127,52],[129,53],[130,54],[131,55],[132,56],[133,57],[134,58],[135,59],[136,60],[137,61],[138,62],[139,63],[140,64],[141,65],[142,66],[143,67],[292,68],[291,69],[290,68],[371,3],[372,70],[373,71],[376,72],[375,3],[307,3],[318,73],[313,74],[316,75],[363,76],[352,3],[355,77],[354,78],[366,78],[353,79],[374,3],[315,80],[317,80],[309,81],[312,82],[360,81],[314,83],[308,3],[146,3],[161,3],[175,3],[253,84],[254,85],[251,85],[252,3],[257,86],[256,87],[255,88],[179,3],[181,89],[180,85],[182,90],[258,3],[259,3],[262,91],[260,3],[261,3],[231,92],[232,93],[233,94],[229,95],[230,96],[183,85],[192,97],[184,85],[186,85],[187,3],[185,85],[188,85],[189,85],[190,85],[191,98],[276,99],[207,100],[208,3],[213,101],[210,102],[209,3],[211,3],[212,103],[277,104],[206,105],[215,106],[216,3],[199,107],[220,108],[205,109],[203,110],[239,111],[202,112],[201,113],[224,114],[226,114],[225,114],[223,115],[228,114],[227,115],[234,116],[222,117],[235,118],[238,119],[217,120],[236,114],[237,114],[218,121],[219,122],[204,123],[221,124],[214,125],[194,126],[196,103],[195,126],[198,127],[197,128],[176,85],[178,129],[177,3],[240,130],[241,3],[200,3],[242,85],[250,131],[193,129],[243,3],[244,85],[246,132],[245,133],[247,85],[248,85],[249,85],[263,134],[271,135],[275,136],[272,3],[273,103],[270,137],[274,138],[269,139],[266,140],[265,141],[267,140],[264,3],[268,141],[381,142],[383,143],[382,144],[380,145],[379,3],[165,146],[163,147],[166,148],[171,3],[168,147],[169,149],[172,150],[164,147],[167,151],[170,147],[162,3],[278,152],[173,153],[289,154],[286,155],[288,156],[287,3],[285,3],[344,157],[342,158],[343,159],[331,160],[332,158],[339,161],[330,162],[335,163],[345,3],[336,164],[341,165],[347,166],[346,167],[329,168],[337,169],[338,170],[333,171],[340,157],[334,172],[322,173],[321,174],[328,3],[364,3],[310,3],[311,175],[78,3],[79,3],[13,3],[15,3],[14,3],[2,3],[16,3],[17,3],[18,3],[19,3],[20,3],[21,3],[22,3],[23,3],[3,3],[24,3],[25,3],[4,3],[26,3],[30,3],[27,3],[28,3],[29,3],[31,3],[32,3],[33,3],[5,3],[34,3],[35,3],[36,3],[37,3],[6,3],[41,3],[38,3],[39,3],[40,3],[42,3],[7,3],[43,3],[48,3],[49,3],[44,3],[45,3],[46,3],[47,3],[8,3],[53,3],[50,3],[51,3],[52,3],[54,3],[9,3],[55,3],[56,3],[57,3],[59,3],[58,3],[60,3],[61,3],[10,3],[62,3],[63,3],[64,3],[11,3],[65,3],[66,3],[67,3],[68,3],[69,3],[1,3],[70,3],[71,3],[12,3],[75,3],[73,3],[77,3],[72,3],[76,3],[74,3],[361,176],[358,177],[359,176],[362,178],[357,3],[351,179],[348,180],[326,181],[327,3],[324,182],[323,3],[325,183],[349,3],[350,184],[365,185],[356,186],[319,3],[377,187],[367,188],[378,189],[370,190],[369,191],[368,192],[384,193],[386,194],[301,195],[385,196],[300,197],[299,198],[297,199],[304,195],[284,200],[293,201],[283,3],[295,202],[294,203],[296,204],[303,205],[302,206],[305,207],[306,208],[160,3],[280,209],[298,3],[279,210],[281,211],[174,212],[282,3]],"latestChangedDtsFile":"./types/client/client.test.d.ts","version":"5.8.3"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/client/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,UAAU,EAAqB,MAAM,mBAAmB,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;AACtE,OAAO,EAAE,IAAI,EAAE,MAAM,oCAAoC,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAGjE,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAI5C,MAAM,WAAW,UAAU;IAEzB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,SAAS,CAAC;CACnB;AAED,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,UAAU,CAAC;IACvB,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B,GAAG,IAAI,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;AAErC,MAAM,WAAW,gBAAgB;IAC7B,YAAY,CAAC,EAAE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ACH,kBAAkB,IAAI,cAAc;IAIpC;;;;OAIG;IACH,gBAAgB,CAAC,QAAQ,EAAE,QAAQ,GAAG,aAAa;IAOnD;;;OAGG;IACH,OAAO,IAAI,eAAe;IAI1B;;;;OAIG;IACG,cAAc,CAAC,KAAK,EAAE,gBAAgB,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC;IAIrE;;;;OAIG;IACG,mBAAmB,CAAC,KAAK,EAAE,wBAAwB,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC;IAI5E;;;;OAIG;WACiB,iBAAiB,CAAC,QAAQ,EAAE,MAAM;CAOvD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listStreams.d.ts","sourceRoot":"","sources":["../../../src/client/listStreams.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAI9C,OAAO,EAAC,gBAAgB,EAAC,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAC,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAC,MAAM,mBAAmB,CAAC;AAEhE;;;;;;GAMG;AACH,wBAAsB,WAAW,CAC/B,UAAU,EAAE,OAAO,GAAG,QAAQ,EAC9B,UAAU,EAAE,UAAU,EACtB,KAAK,EAAE,gBAAgB,GACtB,OAAO,CAAC,aAAa,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"listStreams.d.ts","sourceRoot":"","sources":["../../../src/client/listStreams.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAI9C,OAAO,EAAC,gBAAgB,EAAC,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAC,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAC,MAAM,mBAAmB,CAAC;AAEhE;;;;;;GAMG;AACH,wBAAsB,WAAW,CAC/B,UAAU,EAAE,OAAO,GAAG,QAAQ,EAC9B,UAAU,EAAE,UAAU,EACtB,KAAK,EAAE,gBAAgB,GACtB,OA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