@superfluid-finance/sdk-redux 0.4.1-dev.cf800f2.0 → 0.4.1-dev.d4f39a2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main/reduxSlices/argTypes.d.ts +3 -3
- package/dist/main/reduxSlices/argTypes.d.ts.map +1 -1
- package/dist/main/reduxSlices/rtkQuery/cacheTags/CacheTagTypes.d.ts +2 -2
- package/dist/main/reduxSlices/rtkQuery/cacheTags/CacheTagTypes.d.ts.map +1 -1
- package/dist/main/reduxSlices/rtkQuery/rpcApiSlice/rpcApiSlice.d.ts +1 -1
- package/dist/main/reduxSlices/rtkQuery/rpcApiSlice/rpcApiSlice.d.ts.map +1 -1
- package/dist/main/reduxSlices/rtkQuery/rpcApiSlice/rpcBaseQuery.d.ts +1 -1
- package/dist/main/reduxSlices/rtkQuery/rpcApiSlice/rpcBaseQuery.d.ts.map +1 -1
- package/dist/main/reduxSlices/rtkQuery/rpcApiSlice/rpcEndpointBuilder.d.ts +1 -1
- package/dist/main/reduxSlices/rtkQuery/rpcApiSlice/rpcEndpointBuilder.d.ts.map +1 -1
- package/dist/main/reduxSlices/rtkQuery/rpcApiSlice/rpcReducerPath.d.ts +1 -1
- package/dist/main/reduxSlices/rtkQuery/rpcApiSlice/rpcReducerPath.d.ts.map +1 -1
- package/dist/main/reduxSlices/rtkQuery/subgraphApiSlice/subgraphApiSlice.d.ts +1 -1
- package/dist/main/reduxSlices/rtkQuery/subgraphApiSlice/subgraphApiSlice.d.ts.map +1 -1
- package/dist/main/reduxSlices/rtkQuery/subgraphApiSlice/subgraphBaseQuery.d.ts +1 -1
- package/dist/main/reduxSlices/rtkQuery/subgraphApiSlice/subgraphBaseQuery.d.ts.map +1 -1
- package/dist/main/reduxSlices/rtkQuery/subgraphApiSlice/subgraphEndpointBuilder.d.ts +1 -1
- package/dist/main/reduxSlices/rtkQuery/subgraphApiSlice/subgraphEndpointBuilder.d.ts.map +1 -1
- package/dist/main/reduxSlices/rtkQuery/subgraphApiSlice/subgraphReducerPath.d.ts +1 -1
- package/dist/main/reduxSlices/rtkQuery/subgraphApiSlice/subgraphReducerPath.d.ts.map +1 -1
- package/dist/main/reduxSlices/transactionTrackerSlice/ethersError.d.ts +1 -1
- package/dist/main/reduxSlices/transactionTrackerSlice/ethersError.d.ts.map +1 -1
- package/dist/main/reduxSlices/transactionTrackerSlice/trackedTransaction.d.ts +1 -1
- package/dist/main/reduxSlices/transactionTrackerSlice/trackedTransaction.d.ts.map +1 -1
- package/dist/main/reduxSlices/transactionTrackerSlice/transactionTitle.d.ts +1 -1
- package/dist/main/reduxSlices/transactionTrackerSlice/transactionTitle.d.ts.map +1 -1
- package/dist/main/reduxSlices/transactionTrackerSlice/transactionTrackerSlice.d.ts +2 -2
- package/dist/main/reduxSlices/transactionTrackerSlice/transactionTrackerSlice.d.ts.map +1 -1
- package/dist/module/reduxSlices/argTypes.d.ts +3 -3
- package/dist/module/reduxSlices/argTypes.d.ts.map +1 -1
- package/dist/module/reduxSlices/rtkQuery/cacheTags/CacheTagTypes.d.ts +2 -2
- package/dist/module/reduxSlices/rtkQuery/cacheTags/CacheTagTypes.d.ts.map +1 -1
- package/dist/module/reduxSlices/rtkQuery/rpcApiSlice/rpcApiSlice.d.ts +1 -1
- package/dist/module/reduxSlices/rtkQuery/rpcApiSlice/rpcApiSlice.d.ts.map +1 -1
- package/dist/module/reduxSlices/rtkQuery/rpcApiSlice/rpcBaseQuery.d.ts +1 -1
- package/dist/module/reduxSlices/rtkQuery/rpcApiSlice/rpcBaseQuery.d.ts.map +1 -1
- package/dist/module/reduxSlices/rtkQuery/rpcApiSlice/rpcEndpointBuilder.d.ts +1 -1
- package/dist/module/reduxSlices/rtkQuery/rpcApiSlice/rpcEndpointBuilder.d.ts.map +1 -1
- package/dist/module/reduxSlices/rtkQuery/rpcApiSlice/rpcReducerPath.d.ts +1 -1
- package/dist/module/reduxSlices/rtkQuery/rpcApiSlice/rpcReducerPath.d.ts.map +1 -1
- package/dist/module/reduxSlices/rtkQuery/subgraphApiSlice/subgraphApiSlice.d.ts +1 -1
- package/dist/module/reduxSlices/rtkQuery/subgraphApiSlice/subgraphApiSlice.d.ts.map +1 -1
- package/dist/module/reduxSlices/rtkQuery/subgraphApiSlice/subgraphBaseQuery.d.ts +1 -1
- package/dist/module/reduxSlices/rtkQuery/subgraphApiSlice/subgraphBaseQuery.d.ts.map +1 -1
- package/dist/module/reduxSlices/rtkQuery/subgraphApiSlice/subgraphEndpointBuilder.d.ts +1 -1
- package/dist/module/reduxSlices/rtkQuery/subgraphApiSlice/subgraphEndpointBuilder.d.ts.map +1 -1
- package/dist/module/reduxSlices/rtkQuery/subgraphApiSlice/subgraphReducerPath.d.ts +1 -1
- package/dist/module/reduxSlices/rtkQuery/subgraphApiSlice/subgraphReducerPath.d.ts.map +1 -1
- package/dist/module/reduxSlices/transactionTrackerSlice/ethersError.d.ts +1 -1
- package/dist/module/reduxSlices/transactionTrackerSlice/ethersError.d.ts.map +1 -1
- package/dist/module/reduxSlices/transactionTrackerSlice/trackedTransaction.d.ts +1 -1
- package/dist/module/reduxSlices/transactionTrackerSlice/trackedTransaction.d.ts.map +1 -1
- package/dist/module/reduxSlices/transactionTrackerSlice/transactionTitle.d.ts +1 -1
- package/dist/module/reduxSlices/transactionTrackerSlice/transactionTitle.d.ts.map +1 -1
- package/dist/module/reduxSlices/transactionTrackerSlice/transactionTrackerSlice.d.ts +2 -2
- package/dist/module/reduxSlices/transactionTrackerSlice/transactionTrackerSlice.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -48,13 +48,13 @@ export interface BaseSuperTokenMutation {
|
|
|
48
48
|
/**
|
|
49
49
|
* Input for strings that is ignored.
|
|
50
50
|
*/
|
|
51
|
-
export
|
|
51
|
+
export type NothingString = '' | undefined;
|
|
52
52
|
/**
|
|
53
53
|
* Input for numbers that is ignored.
|
|
54
54
|
*/
|
|
55
|
-
export
|
|
55
|
+
export type NothingNumber = undefined;
|
|
56
56
|
/**
|
|
57
57
|
* Input for booleans that is ignored.
|
|
58
58
|
*/
|
|
59
|
-
export
|
|
59
|
+
export type NothingBoolean = undefined;
|
|
60
60
|
//# sourceMappingURL=argTypes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"argTypes.d.ts","sourceRoot":"","sources":["../../../src/reduxSlices/argTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,2BAA2B,EAAC,MAAM,8BAA8B,CAAC;AACzE,OAAO,EAAC,MAAM,EAAC,MAAM,QAAQ,CAAC;AAE9B,OAAO,EAAC,oBAAoB,EAAE,iBAAiB,EAAC,MAAM,UAAU,CAAC;AAEjE;;GAEG;AACH,MAAM,WAAW,eAAe;IAC5B,0CAA0C;IAC1C,OAAO,EAAE,MAAM,CAAC;IAChB,4BAA4B;IAC5B,IAAI,EAAE,MAAM,CAAC;CAEhB;AAED,MAAM,WAAW,SAAS,CAAC,SAAS;IAChC,kCAAkC;IAClC,OAAO,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB,CAAC,QAAQ,CAAE,SAAQ,SAAS,CAAC,QAAQ,CAAC;IACrE,gCAAgC;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,kCAAkC;IAClC,IAAI,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACnC,oEAAoE;IACpE,OAAO,EAAE,MAAM,CAAC;IAChB,2CAA2C;IAC3C,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;;OAKG;IACH,mBAAmB,EAAE,OAAO,GAAG,cAAc,CAAC;IAE9C;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAE/C,CAAC,oBAAoB,CAAC,CAAC,EAAE,2BAA2B,CAAC,WAAW,CAAC,CAAC;IAClE,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"argTypes.d.ts","sourceRoot":"","sources":["../../../src/reduxSlices/argTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,2BAA2B,EAAC,MAAM,8BAA8B,CAAC;AACzE,OAAO,EAAC,MAAM,EAAC,MAAM,QAAQ,CAAC;AAE9B,OAAO,EAAC,oBAAoB,EAAE,iBAAiB,EAAC,MAAM,UAAU,CAAC;AAEjE;;GAEG;AACH,MAAM,WAAW,eAAe;IAC5B,0CAA0C;IAC1C,OAAO,EAAE,MAAM,CAAC;IAChB,4BAA4B;IAC5B,IAAI,EAAE,MAAM,CAAC;CAEhB;AAED,MAAM,WAAW,SAAS,CAAC,SAAS;IAChC,kCAAkC;IAClC,OAAO,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB,CAAC,QAAQ,CAAE,SAAQ,SAAS,CAAC,QAAQ,CAAC;IACrE,gCAAgC;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,kCAAkC;IAClC,IAAI,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACnC,oEAAoE;IACpE,OAAO,EAAE,MAAM,CAAC;IAChB,2CAA2C;IAC3C,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;;OAKG;IACH,mBAAmB,EAAE,OAAO,GAAG,cAAc,CAAC;IAE9C;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAE/C,CAAC,oBAAoB,CAAC,CAAC,EAAE,2BAA2B,CAAC,WAAW,CAAC,CAAC;IAClE,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,EAAE,GAAG,SAAS,CAAC;AAE3C;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,SAAS,CAAC;AAEtC;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,SAAS,CAAC"}
|
|
@@ -5,7 +5,7 @@ import { NothingString } from '../../argTypes';
|
|
|
5
5
|
* - GENERAL: Very general tagging of the query, e.g. only to the specificity of the chain. These tags are rarely invalidated.
|
|
6
6
|
* - SPECIFIC: As specific tagging of the query as possible, e.g. chain + token + address. These tags are often invalidated when listening to blockchain events.
|
|
7
7
|
*/
|
|
8
|
-
export
|
|
8
|
+
export type CacheTagType = 'GENERAL' | 'SPECIFIC';
|
|
9
9
|
export declare const cacheTagTypes: CacheTagType[];
|
|
10
10
|
/**
|
|
11
11
|
* NOTE:
|
|
@@ -17,7 +17,7 @@ export declare const cacheTagTypes: CacheTagType[];
|
|
|
17
17
|
* @private
|
|
18
18
|
* @category Cache Tags
|
|
19
19
|
*/
|
|
20
|
-
|
|
20
|
+
type CacheTagPayload = {
|
|
21
21
|
chainId: number;
|
|
22
22
|
address1?: string | NothingString;
|
|
23
23
|
address2?: string | NothingString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CacheTagTypes.d.ts","sourceRoot":"","sources":["../../../../../src/reduxSlices/rtkQuery/cacheTags/CacheTagTypes.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,aAAa,EAAC,MAAM,gBAAgB,CAAC;AAE7C;;;;;GAKG;AACH,
|
|
1
|
+
{"version":3,"file":"CacheTagTypes.d.ts","sourceRoot":"","sources":["../../../../../src/reduxSlices/rtkQuery/cacheTags/CacheTagTypes.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,aAAa,EAAC,MAAM,gBAAgB,CAAC;AAE7C;;;;;GAKG;AACH,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,UAAU,CAAC;AAElD,eAAO,MAAM,aAAa,gBAAqD,CAAC;AAahF;;;;;;;;;GASG;AACH,KAAK,eAAe,GAAG;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,GAAG,aAAa,CAAC;IAClC,QAAQ,CAAC,EAAE,MAAM,GAAG,aAAa,CAAC;IAClC,QAAQ,CAAC,EAAE,MAAM,GAAG,aAAa,CAAC;CACrC,CAAC;AAoBF,eAAO,MAAM,kBAAkB,YAAa,eAAe;;;GAAoC,CAAC;AAEhG,eAAO,MAAM,qBAAqB,YAAa,eAAe;;;CAAiD,CAAC;AAEhH;;GAEG;AACH,eAAO,MAAM,iBAAiB;aAAyB,MAAM;;;;GAAsC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { CreateApi } from '@reduxjs/toolkit/dist/query';
|
|
2
2
|
export declare const createRpcApiSlice: <T extends keyof import("@reduxjs/toolkit/dist/query").ApiModules<any, any, any, any>>(createRtkQueryApi: CreateApi<T>) => import("@reduxjs/toolkit/dist/query").Api<import("@reduxjs/toolkit/dist/query").BaseQueryFn<void, unknown, import("@reduxjs/toolkit").SerializedError, Record<string, unknown>, {}>, {}, "superfluid_rpc", import("../cacheTags/CacheTagTypes").CacheTagType, T>;
|
|
3
|
-
export
|
|
3
|
+
export type RpcApiSliceEmpty = ReturnType<typeof createRpcApiSlice>;
|
|
4
4
|
//# sourceMappingURL=rpcApiSlice.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rpcApiSlice.d.ts","sourceRoot":"","sources":["../../../../../src/reduxSlices/rtkQuery/rpcApiSlice/rpcApiSlice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,6BAA6B,CAAC;AAWtD,eAAO,MAAM,iBAAiB,6XAOxB,CAAC;AAEP,
|
|
1
|
+
{"version":3,"file":"rpcApiSlice.d.ts","sourceRoot":"","sources":["../../../../../src/reduxSlices/rtkQuery/rpcApiSlice/rpcApiSlice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,6BAA6B,CAAC;AAWtD,eAAO,MAAM,iBAAiB,6XAOxB,CAAC;AAEP,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SerializedError } from '@reduxjs/toolkit';
|
|
2
2
|
import { BaseQueryFn } from '@reduxjs/toolkit/dist/query';
|
|
3
3
|
export declare const rpcBaseQuery: () => BaseQueryFn<void, unknown, SerializedError, Record<string, unknown>>;
|
|
4
|
-
export
|
|
4
|
+
export type RpcBaseQuery = ReturnType<typeof rpcBaseQuery>;
|
|
5
5
|
//# sourceMappingURL=rpcBaseQuery.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rpcBaseQuery.d.ts","sourceRoot":"","sources":["../../../../../src/reduxSlices/rtkQuery/rpcApiSlice/rpcBaseQuery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAC,WAAW,EAAC,MAAM,6BAA6B,CAAC;AAExD,eAAO,MAAM,YAAY,QAAO,YAAY,IAAI,EAAE,OAAO,EAAE,eAAe,EAAE,OAAO,MAAM,EAAE,OAAO,CAAC,CAElG,CAAC;AAEF,
|
|
1
|
+
{"version":3,"file":"rpcBaseQuery.d.ts","sourceRoot":"","sources":["../../../../../src/reduxSlices/rtkQuery/rpcApiSlice/rpcBaseQuery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAC,WAAW,EAAC,MAAM,6BAA6B,CAAC;AAExD,eAAO,MAAM,YAAY,QAAO,YAAY,IAAI,EAAE,OAAO,EAAE,eAAe,EAAE,OAAO,MAAM,EAAE,OAAO,CAAC,CAElG,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC"}
|
|
@@ -2,5 +2,5 @@ import { EndpointBuilder } from '@reduxjs/toolkit/dist/query/endpointDefinitions
|
|
|
2
2
|
import { CacheTagType } from '../cacheTags/CacheTagTypes';
|
|
3
3
|
import { RpcBaseQuery } from './rpcBaseQuery';
|
|
4
4
|
import { RpcReducerPath } from './rpcReducerPath';
|
|
5
|
-
export
|
|
5
|
+
export type RpcEndpointBuilder = EndpointBuilder<RpcBaseQuery, CacheTagType, RpcReducerPath>;
|
|
6
6
|
//# sourceMappingURL=rpcEndpointBuilder.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rpcEndpointBuilder.d.ts","sourceRoot":"","sources":["../../../../../src/reduxSlices/rtkQuery/rpcApiSlice/rpcEndpointBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,iDAAiD,CAAC;AAEhF,OAAO,EAAC,YAAY,EAAC,MAAM,4BAA4B,CAAC;AAExD,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAEhD,
|
|
1
|
+
{"version":3,"file":"rpcEndpointBuilder.d.ts","sourceRoot":"","sources":["../../../../../src/reduxSlices/rtkQuery/rpcApiSlice/rpcEndpointBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,iDAAiD,CAAC;AAEhF,OAAO,EAAC,YAAY,EAAC,MAAM,4BAA4B,CAAC;AAExD,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAEhD,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC,YAAY,EAAE,YAAY,EAAE,cAAc,CAAC,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type RpcReducerPath = 'superfluid_rpc';
|
|
2
2
|
//# sourceMappingURL=rpcReducerPath.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rpcReducerPath.d.ts","sourceRoot":"","sources":["../../../../../src/reduxSlices/rtkQuery/rpcApiSlice/rpcReducerPath.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"rpcReducerPath.d.ts","sourceRoot":"","sources":["../../../../../src/reduxSlices/rtkQuery/rpcApiSlice/rpcReducerPath.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG,gBAAgB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { CreateApi } from '@reduxjs/toolkit/dist/query';
|
|
2
2
|
export declare const createSubgraphApiSlice: <T extends keyof import("@reduxjs/toolkit/dist/query").ApiModules<any, any, any, any>>(createRtkQueryApi: CreateApi<T>) => import("@reduxjs/toolkit/dist/query").Api<import("@reduxjs/toolkit/dist/query").BaseQueryFn<void, unknown, import("@reduxjs/toolkit").SerializedError, Record<string, unknown>, {}>, {}, "superfluid_subgraph", import("../cacheTags/CacheTagTypes").CacheTagType, T>;
|
|
3
|
-
export
|
|
3
|
+
export type SubgraphApiSliceEmpty = ReturnType<typeof createSubgraphApiSlice>;
|
|
4
4
|
//# sourceMappingURL=subgraphApiSlice.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subgraphApiSlice.d.ts","sourceRoot":"","sources":["../../../../../src/reduxSlices/rtkQuery/subgraphApiSlice/subgraphApiSlice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,6BAA6B,CAAC;AAYtD,eAAO,MAAM,sBAAsB,kYAQ7B,CAAC;AAEP,
|
|
1
|
+
{"version":3,"file":"subgraphApiSlice.d.ts","sourceRoot":"","sources":["../../../../../src/reduxSlices/rtkQuery/subgraphApiSlice/subgraphApiSlice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,6BAA6B,CAAC;AAYtD,eAAO,MAAM,sBAAsB,kYAQ7B,CAAC;AAEP,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SerializedError } from '@reduxjs/toolkit';
|
|
2
2
|
import { BaseQueryFn } from '@reduxjs/toolkit/dist/query';
|
|
3
3
|
export declare const subgraphBaseQuery: () => BaseQueryFn<void, unknown, SerializedError, Record<string, unknown>>;
|
|
4
|
-
export
|
|
4
|
+
export type SubgraphBaseQuery = ReturnType<typeof subgraphBaseQuery>;
|
|
5
5
|
//# sourceMappingURL=subgraphBaseQuery.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subgraphBaseQuery.d.ts","sourceRoot":"","sources":["../../../../../src/reduxSlices/rtkQuery/subgraphApiSlice/subgraphBaseQuery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAC,WAAW,EAAC,MAAM,6BAA6B,CAAC;AAExD,eAAO,MAAM,iBAAiB,QAAO,YAAY,IAAI,EAAE,OAAO,EAAE,eAAe,EAAE,OAAO,MAAM,EAAE,OAAO,CAAC,CAEvG,CAAC;AAEF,
|
|
1
|
+
{"version":3,"file":"subgraphBaseQuery.d.ts","sourceRoot":"","sources":["../../../../../src/reduxSlices/rtkQuery/subgraphApiSlice/subgraphBaseQuery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAC,WAAW,EAAC,MAAM,6BAA6B,CAAC;AAExD,eAAO,MAAM,iBAAiB,QAAO,YAAY,IAAI,EAAE,OAAO,EAAE,eAAe,EAAE,OAAO,MAAM,EAAE,OAAO,CAAC,CAEvG,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
|
|
@@ -2,5 +2,5 @@ import { EndpointBuilder } from '@reduxjs/toolkit/dist/query/endpointDefinitions
|
|
|
2
2
|
import { CacheTagType } from '../cacheTags/CacheTagTypes';
|
|
3
3
|
import { SubgraphBaseQuery } from './subgraphBaseQuery';
|
|
4
4
|
import { SubgraphReducerPath } from './subgraphReducerPath';
|
|
5
|
-
export
|
|
5
|
+
export type SubgraphEndpointBuilder = EndpointBuilder<SubgraphBaseQuery, CacheTagType, SubgraphReducerPath>;
|
|
6
6
|
//# sourceMappingURL=subgraphEndpointBuilder.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subgraphEndpointBuilder.d.ts","sourceRoot":"","sources":["../../../../../src/reduxSlices/rtkQuery/subgraphApiSlice/subgraphEndpointBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,iDAAiD,CAAC;AAEhF,OAAO,EAAC,YAAY,EAAC,MAAM,4BAA4B,CAAC;AAExD,OAAO,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAC,mBAAmB,EAAC,MAAM,uBAAuB,CAAC;AAE1D,
|
|
1
|
+
{"version":3,"file":"subgraphEndpointBuilder.d.ts","sourceRoot":"","sources":["../../../../../src/reduxSlices/rtkQuery/subgraphApiSlice/subgraphEndpointBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,iDAAiD,CAAC;AAEhF,OAAO,EAAC,YAAY,EAAC,MAAM,4BAA4B,CAAC;AAExD,OAAO,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAC,mBAAmB,EAAC,MAAM,uBAAuB,CAAC;AAE1D,MAAM,MAAM,uBAAuB,GAAG,eAAe,CAAC,iBAAiB,EAAE,YAAY,EAAE,mBAAmB,CAAC,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type SubgraphReducerPath = 'superfluid_subgraph';
|
|
2
2
|
//# sourceMappingURL=subgraphReducerPath.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subgraphReducerPath.d.ts","sourceRoot":"","sources":["../../../../../src/reduxSlices/rtkQuery/subgraphApiSlice/subgraphReducerPath.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"subgraphReducerPath.d.ts","sourceRoot":"","sources":["../../../../../src/reduxSlices/rtkQuery/subgraphApiSlice/subgraphReducerPath.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,mBAAmB,GAAG,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ethersError.d.ts","sourceRoot":"","sources":["../../../../src/reduxSlices/transactionTrackerSlice/ethersError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAC,MAAM,QAAQ,CAAC;AAE9B,
|
|
1
|
+
{"version":3,"file":"ethersError.d.ts","sourceRoot":"","sources":["../../../../src/reduxSlices/transactionTrackerSlice/ethersError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAC,MAAM,QAAQ,CAAC;AAE9B,MAAM,MAAM,WAAW,GAAG,KAAK,GAAG;IAC9B,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,UAAU,GAAG,UAAU,GAAG,WAAW,CAAC;IAC/C,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ethers } from 'ethers';
|
|
2
2
|
import { TransactionTitle } from './transactionTitle';
|
|
3
|
-
export
|
|
3
|
+
export type TransactionStatus = 'Pending' | 'Succeeded' | 'Failed' | 'Unknown';
|
|
4
4
|
export interface TrackedTransaction {
|
|
5
5
|
chainId: number;
|
|
6
6
|
hash: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trackedTransaction.d.ts","sourceRoot":"","sources":["../../../../src/reduxSlices/transactionTrackerSlice/trackedTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAC,MAAM,QAAQ,CAAC;AAE9B,OAAO,EAAC,gBAAgB,EAAC,MAAM,oBAAoB,CAAC;AAEpD,
|
|
1
|
+
{"version":3,"file":"trackedTransaction.d.ts","sourceRoot":"","sources":["../../../../src/reduxSlices/transactionTrackerSlice/trackedTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAC,MAAM,QAAQ,CAAC;AAE9B,OAAO,EAAC,gBAAgB,EAAC,MAAM,oBAAoB,CAAC;AAEpD,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,SAAS,CAAC;AAG/E,MAAM,WAAW,kBAAkB;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,iBAAiB,CAAC;IAC1B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,CAAC;IAChC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,KAAK,EAAE,gBAAgB,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnC;;OAEG;IACH,gBAAgB,CAAC,EAAE,IAAI,CAAC;IACxB;;OAEG;IACH,2BAA2B,CAAC,EAAE,MAAM,CAAC;CACxC"}
|
|
@@ -6,5 +6,5 @@ export interface TransactionTitleOverrides {
|
|
|
6
6
|
/**
|
|
7
7
|
* For easily recognizing what was the intent of the transaction.
|
|
8
8
|
*/
|
|
9
|
-
export
|
|
9
|
+
export type TransactionTitle = 'Create Stream' | 'Update Stream' | 'Close Stream' | 'Create Index' | 'Distribute Index' | 'Update Index Subscription Units' | 'Approve Index Subscription' | 'Claim from Index Subscription' | 'Delete Index Subscription' | 'Revoke Index Subscription' | 'Upgrade to Super Token' | 'Downgrade from Super Token' | 'Transfer Super Token' | keyof TransactionTitleOverrides;
|
|
10
10
|
//# sourceMappingURL=transactionTitle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transactionTitle.d.ts","sourceRoot":"","sources":["../../../../src/reduxSlices/transactionTrackerSlice/transactionTitle.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,yBAAyB;CAAG;AAE7C;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"transactionTitle.d.ts","sourceRoot":"","sources":["../../../../src/reduxSlices/transactionTrackerSlice/transactionTitle.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,yBAAyB;CAAG;AAE7C;;GAEG;AACH,MAAM,MAAM,gBAAgB,GACtB,eAAe,GACf,eAAe,GACf,cAAc,GACd,cAAc,GACd,kBAAkB,GAClB,iCAAiC,GACjC,4BAA4B,GAC5B,+BAA+B,GAC/B,2BAA2B,GAC3B,2BAA2B,GAC3B,wBAAwB,GACxB,4BAA4B,GAC5B,sBAAsB,GACtB,MAAM,yBAAyB,CAAC"}
|
|
@@ -37,6 +37,6 @@ export declare const createTransactionTrackerSlice: () => {
|
|
|
37
37
|
getInitialState: () => import("@reduxjs/toolkit").EntityState<import("./trackedTransaction").TrackedTransaction>;
|
|
38
38
|
reducerPath: "superfluid_transactions";
|
|
39
39
|
};
|
|
40
|
-
export
|
|
41
|
-
export
|
|
40
|
+
export type TransactionTrackerSlice = ReturnType<typeof createTransactionTrackerSlice>;
|
|
41
|
+
export type TransactionTrackerReducer = ReturnType<TransactionTrackerSlice['getInitialState']>;
|
|
42
42
|
//# sourceMappingURL=transactionTrackerSlice.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transactionTrackerSlice.d.ts","sourceRoot":"","sources":["../../../../src/reduxSlices/transactionTrackerSlice/transactionTrackerSlice.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,6BAA6B,2BAAqC,CAAC;AAEhF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUxC,CAAC;AAEH,
|
|
1
|
+
{"version":3,"file":"transactionTrackerSlice.d.ts","sourceRoot":"","sources":["../../../../src/reduxSlices/transactionTrackerSlice/transactionTrackerSlice.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,6BAA6B,2BAAqC,CAAC;AAEhF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUxC,CAAC;AAEH,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAAC,OAAO,6BAA6B,CAAC,CAAC;AACvF,MAAM,MAAM,yBAAyB,GAAG,UAAU,CAAC,uBAAuB,CAAC,iBAAiB,CAAC,CAAC,CAAC"}
|
|
@@ -48,13 +48,13 @@ export interface BaseSuperTokenMutation {
|
|
|
48
48
|
/**
|
|
49
49
|
* Input for strings that is ignored.
|
|
50
50
|
*/
|
|
51
|
-
export
|
|
51
|
+
export type NothingString = '' | undefined;
|
|
52
52
|
/**
|
|
53
53
|
* Input for numbers that is ignored.
|
|
54
54
|
*/
|
|
55
|
-
export
|
|
55
|
+
export type NothingNumber = undefined;
|
|
56
56
|
/**
|
|
57
57
|
* Input for booleans that is ignored.
|
|
58
58
|
*/
|
|
59
|
-
export
|
|
59
|
+
export type NothingBoolean = undefined;
|
|
60
60
|
//# sourceMappingURL=argTypes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"argTypes.d.ts","sourceRoot":"","sources":["../../../src/reduxSlices/argTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,2BAA2B,EAAC,MAAM,8BAA8B,CAAC;AACzE,OAAO,EAAC,MAAM,EAAC,MAAM,QAAQ,CAAC;AAE9B,OAAO,EAAC,oBAAoB,EAAE,iBAAiB,EAAC,MAAM,UAAU,CAAC;AAEjE;;GAEG;AACH,MAAM,WAAW,eAAe;IAC5B,0CAA0C;IAC1C,OAAO,EAAE,MAAM,CAAC;IAChB,4BAA4B;IAC5B,IAAI,EAAE,MAAM,CAAC;CAEhB;AAED,MAAM,WAAW,SAAS,CAAC,SAAS;IAChC,kCAAkC;IAClC,OAAO,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB,CAAC,QAAQ,CAAE,SAAQ,SAAS,CAAC,QAAQ,CAAC;IACrE,gCAAgC;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,kCAAkC;IAClC,IAAI,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACnC,oEAAoE;IACpE,OAAO,EAAE,MAAM,CAAC;IAChB,2CAA2C;IAC3C,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;;OAKG;IACH,mBAAmB,EAAE,OAAO,GAAG,cAAc,CAAC;IAE9C;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAE/C,CAAC,oBAAoB,CAAC,CAAC,EAAE,2BAA2B,CAAC,WAAW,CAAC,CAAC;IAClE,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"argTypes.d.ts","sourceRoot":"","sources":["../../../src/reduxSlices/argTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,2BAA2B,EAAC,MAAM,8BAA8B,CAAC;AACzE,OAAO,EAAC,MAAM,EAAC,MAAM,QAAQ,CAAC;AAE9B,OAAO,EAAC,oBAAoB,EAAE,iBAAiB,EAAC,MAAM,UAAU,CAAC;AAEjE;;GAEG;AACH,MAAM,WAAW,eAAe;IAC5B,0CAA0C;IAC1C,OAAO,EAAE,MAAM,CAAC;IAChB,4BAA4B;IAC5B,IAAI,EAAE,MAAM,CAAC;CAEhB;AAED,MAAM,WAAW,SAAS,CAAC,SAAS;IAChC,kCAAkC;IAClC,OAAO,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB,CAAC,QAAQ,CAAE,SAAQ,SAAS,CAAC,QAAQ,CAAC;IACrE,gCAAgC;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,kCAAkC;IAClC,IAAI,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACnC,oEAAoE;IACpE,OAAO,EAAE,MAAM,CAAC;IAChB,2CAA2C;IAC3C,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;;OAKG;IACH,mBAAmB,EAAE,OAAO,GAAG,cAAc,CAAC;IAE9C;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAE/C,CAAC,oBAAoB,CAAC,CAAC,EAAE,2BAA2B,CAAC,WAAW,CAAC,CAAC;IAClE,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,EAAE,GAAG,SAAS,CAAC;AAE3C;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,SAAS,CAAC;AAEtC;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,SAAS,CAAC"}
|
|
@@ -5,7 +5,7 @@ import { NothingString } from '../../argTypes';
|
|
|
5
5
|
* - GENERAL: Very general tagging of the query, e.g. only to the specificity of the chain. These tags are rarely invalidated.
|
|
6
6
|
* - SPECIFIC: As specific tagging of the query as possible, e.g. chain + token + address. These tags are often invalidated when listening to blockchain events.
|
|
7
7
|
*/
|
|
8
|
-
export
|
|
8
|
+
export type CacheTagType = 'GENERAL' | 'SPECIFIC';
|
|
9
9
|
export declare const cacheTagTypes: CacheTagType[];
|
|
10
10
|
/**
|
|
11
11
|
* NOTE:
|
|
@@ -17,7 +17,7 @@ export declare const cacheTagTypes: CacheTagType[];
|
|
|
17
17
|
* @private
|
|
18
18
|
* @category Cache Tags
|
|
19
19
|
*/
|
|
20
|
-
|
|
20
|
+
type CacheTagPayload = {
|
|
21
21
|
chainId: number;
|
|
22
22
|
address1?: string | NothingString;
|
|
23
23
|
address2?: string | NothingString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CacheTagTypes.d.ts","sourceRoot":"","sources":["../../../../../src/reduxSlices/rtkQuery/cacheTags/CacheTagTypes.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,aAAa,EAAC,MAAM,gBAAgB,CAAC;AAE7C;;;;;GAKG;AACH,
|
|
1
|
+
{"version":3,"file":"CacheTagTypes.d.ts","sourceRoot":"","sources":["../../../../../src/reduxSlices/rtkQuery/cacheTags/CacheTagTypes.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,aAAa,EAAC,MAAM,gBAAgB,CAAC;AAE7C;;;;;GAKG;AACH,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,UAAU,CAAC;AAElD,eAAO,MAAM,aAAa,gBAAqD,CAAC;AAahF;;;;;;;;;GASG;AACH,KAAK,eAAe,GAAG;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,GAAG,aAAa,CAAC;IAClC,QAAQ,CAAC,EAAE,MAAM,GAAG,aAAa,CAAC;IAClC,QAAQ,CAAC,EAAE,MAAM,GAAG,aAAa,CAAC;CACrC,CAAC;AAoBF,eAAO,MAAM,kBAAkB,YAAa,eAAe;;;GAAoC,CAAC;AAEhG,eAAO,MAAM,qBAAqB,YAAa,eAAe;;;CAAiD,CAAC;AAEhH;;GAEG;AACH,eAAO,MAAM,iBAAiB;aAAyB,MAAM;;;;GAAsC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { CreateApi } from '@reduxjs/toolkit/dist/query';
|
|
2
2
|
export declare const createRpcApiSlice: <T extends keyof import("@reduxjs/toolkit/dist/query").ApiModules<any, any, any, any>>(createRtkQueryApi: CreateApi<T>) => import("@reduxjs/toolkit/dist/query").Api<import("@reduxjs/toolkit/dist/query").BaseQueryFn<void, unknown, import("@reduxjs/toolkit").SerializedError, Record<string, unknown>, {}>, {}, "superfluid_rpc", import("../cacheTags/CacheTagTypes").CacheTagType, T>;
|
|
3
|
-
export
|
|
3
|
+
export type RpcApiSliceEmpty = ReturnType<typeof createRpcApiSlice>;
|
|
4
4
|
//# sourceMappingURL=rpcApiSlice.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rpcApiSlice.d.ts","sourceRoot":"","sources":["../../../../../src/reduxSlices/rtkQuery/rpcApiSlice/rpcApiSlice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,6BAA6B,CAAC;AAWtD,eAAO,MAAM,iBAAiB,6XAOxB,CAAC;AAEP,
|
|
1
|
+
{"version":3,"file":"rpcApiSlice.d.ts","sourceRoot":"","sources":["../../../../../src/reduxSlices/rtkQuery/rpcApiSlice/rpcApiSlice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,6BAA6B,CAAC;AAWtD,eAAO,MAAM,iBAAiB,6XAOxB,CAAC;AAEP,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SerializedError } from '@reduxjs/toolkit';
|
|
2
2
|
import { BaseQueryFn } from '@reduxjs/toolkit/dist/query';
|
|
3
3
|
export declare const rpcBaseQuery: () => BaseQueryFn<void, unknown, SerializedError, Record<string, unknown>>;
|
|
4
|
-
export
|
|
4
|
+
export type RpcBaseQuery = ReturnType<typeof rpcBaseQuery>;
|
|
5
5
|
//# sourceMappingURL=rpcBaseQuery.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rpcBaseQuery.d.ts","sourceRoot":"","sources":["../../../../../src/reduxSlices/rtkQuery/rpcApiSlice/rpcBaseQuery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAC,WAAW,EAAC,MAAM,6BAA6B,CAAC;AAExD,eAAO,MAAM,YAAY,QAAO,YAAY,IAAI,EAAE,OAAO,EAAE,eAAe,EAAE,OAAO,MAAM,EAAE,OAAO,CAAC,CAElG,CAAC;AAEF,
|
|
1
|
+
{"version":3,"file":"rpcBaseQuery.d.ts","sourceRoot":"","sources":["../../../../../src/reduxSlices/rtkQuery/rpcApiSlice/rpcBaseQuery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAC,WAAW,EAAC,MAAM,6BAA6B,CAAC;AAExD,eAAO,MAAM,YAAY,QAAO,YAAY,IAAI,EAAE,OAAO,EAAE,eAAe,EAAE,OAAO,MAAM,EAAE,OAAO,CAAC,CAElG,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC"}
|
|
@@ -2,5 +2,5 @@ import { EndpointBuilder } from '@reduxjs/toolkit/dist/query/endpointDefinitions
|
|
|
2
2
|
import { CacheTagType } from '../cacheTags/CacheTagTypes';
|
|
3
3
|
import { RpcBaseQuery } from './rpcBaseQuery';
|
|
4
4
|
import { RpcReducerPath } from './rpcReducerPath';
|
|
5
|
-
export
|
|
5
|
+
export type RpcEndpointBuilder = EndpointBuilder<RpcBaseQuery, CacheTagType, RpcReducerPath>;
|
|
6
6
|
//# sourceMappingURL=rpcEndpointBuilder.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rpcEndpointBuilder.d.ts","sourceRoot":"","sources":["../../../../../src/reduxSlices/rtkQuery/rpcApiSlice/rpcEndpointBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,iDAAiD,CAAC;AAEhF,OAAO,EAAC,YAAY,EAAC,MAAM,4BAA4B,CAAC;AAExD,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAEhD,
|
|
1
|
+
{"version":3,"file":"rpcEndpointBuilder.d.ts","sourceRoot":"","sources":["../../../../../src/reduxSlices/rtkQuery/rpcApiSlice/rpcEndpointBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,iDAAiD,CAAC;AAEhF,OAAO,EAAC,YAAY,EAAC,MAAM,4BAA4B,CAAC;AAExD,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC;AAC5C,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAEhD,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC,YAAY,EAAE,YAAY,EAAE,cAAc,CAAC,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type RpcReducerPath = 'superfluid_rpc';
|
|
2
2
|
//# sourceMappingURL=rpcReducerPath.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rpcReducerPath.d.ts","sourceRoot":"","sources":["../../../../../src/reduxSlices/rtkQuery/rpcApiSlice/rpcReducerPath.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"rpcReducerPath.d.ts","sourceRoot":"","sources":["../../../../../src/reduxSlices/rtkQuery/rpcApiSlice/rpcReducerPath.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG,gBAAgB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { CreateApi } from '@reduxjs/toolkit/dist/query';
|
|
2
2
|
export declare const createSubgraphApiSlice: <T extends keyof import("@reduxjs/toolkit/dist/query").ApiModules<any, any, any, any>>(createRtkQueryApi: CreateApi<T>) => import("@reduxjs/toolkit/dist/query").Api<import("@reduxjs/toolkit/dist/query").BaseQueryFn<void, unknown, import("@reduxjs/toolkit").SerializedError, Record<string, unknown>, {}>, {}, "superfluid_subgraph", import("../cacheTags/CacheTagTypes").CacheTagType, T>;
|
|
3
|
-
export
|
|
3
|
+
export type SubgraphApiSliceEmpty = ReturnType<typeof createSubgraphApiSlice>;
|
|
4
4
|
//# sourceMappingURL=subgraphApiSlice.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subgraphApiSlice.d.ts","sourceRoot":"","sources":["../../../../../src/reduxSlices/rtkQuery/subgraphApiSlice/subgraphApiSlice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,6BAA6B,CAAC;AAYtD,eAAO,MAAM,sBAAsB,kYAQ7B,CAAC;AAEP,
|
|
1
|
+
{"version":3,"file":"subgraphApiSlice.d.ts","sourceRoot":"","sources":["../../../../../src/reduxSlices/rtkQuery/subgraphApiSlice/subgraphApiSlice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,6BAA6B,CAAC;AAYtD,eAAO,MAAM,sBAAsB,kYAQ7B,CAAC;AAEP,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SerializedError } from '@reduxjs/toolkit';
|
|
2
2
|
import { BaseQueryFn } from '@reduxjs/toolkit/dist/query';
|
|
3
3
|
export declare const subgraphBaseQuery: () => BaseQueryFn<void, unknown, SerializedError, Record<string, unknown>>;
|
|
4
|
-
export
|
|
4
|
+
export type SubgraphBaseQuery = ReturnType<typeof subgraphBaseQuery>;
|
|
5
5
|
//# sourceMappingURL=subgraphBaseQuery.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subgraphBaseQuery.d.ts","sourceRoot":"","sources":["../../../../../src/reduxSlices/rtkQuery/subgraphApiSlice/subgraphBaseQuery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAC,WAAW,EAAC,MAAM,6BAA6B,CAAC;AAExD,eAAO,MAAM,iBAAiB,QAAO,YAAY,IAAI,EAAE,OAAO,EAAE,eAAe,EAAE,OAAO,MAAM,EAAE,OAAO,CAAC,CAEvG,CAAC;AAEF,
|
|
1
|
+
{"version":3,"file":"subgraphBaseQuery.d.ts","sourceRoot":"","sources":["../../../../../src/reduxSlices/rtkQuery/subgraphApiSlice/subgraphBaseQuery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAC,WAAW,EAAC,MAAM,6BAA6B,CAAC;AAExD,eAAO,MAAM,iBAAiB,QAAO,YAAY,IAAI,EAAE,OAAO,EAAE,eAAe,EAAE,OAAO,MAAM,EAAE,OAAO,CAAC,CAEvG,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
|
|
@@ -2,5 +2,5 @@ import { EndpointBuilder } from '@reduxjs/toolkit/dist/query/endpointDefinitions
|
|
|
2
2
|
import { CacheTagType } from '../cacheTags/CacheTagTypes';
|
|
3
3
|
import { SubgraphBaseQuery } from './subgraphBaseQuery';
|
|
4
4
|
import { SubgraphReducerPath } from './subgraphReducerPath';
|
|
5
|
-
export
|
|
5
|
+
export type SubgraphEndpointBuilder = EndpointBuilder<SubgraphBaseQuery, CacheTagType, SubgraphReducerPath>;
|
|
6
6
|
//# sourceMappingURL=subgraphEndpointBuilder.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subgraphEndpointBuilder.d.ts","sourceRoot":"","sources":["../../../../../src/reduxSlices/rtkQuery/subgraphApiSlice/subgraphEndpointBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,iDAAiD,CAAC;AAEhF,OAAO,EAAC,YAAY,EAAC,MAAM,4BAA4B,CAAC;AAExD,OAAO,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAC,mBAAmB,EAAC,MAAM,uBAAuB,CAAC;AAE1D,
|
|
1
|
+
{"version":3,"file":"subgraphEndpointBuilder.d.ts","sourceRoot":"","sources":["../../../../../src/reduxSlices/rtkQuery/subgraphApiSlice/subgraphEndpointBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,iDAAiD,CAAC;AAEhF,OAAO,EAAC,YAAY,EAAC,MAAM,4BAA4B,CAAC;AAExD,OAAO,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAC,mBAAmB,EAAC,MAAM,uBAAuB,CAAC;AAE1D,MAAM,MAAM,uBAAuB,GAAG,eAAe,CAAC,iBAAiB,EAAE,YAAY,EAAE,mBAAmB,CAAC,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type SubgraphReducerPath = 'superfluid_subgraph';
|
|
2
2
|
//# sourceMappingURL=subgraphReducerPath.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subgraphReducerPath.d.ts","sourceRoot":"","sources":["../../../../../src/reduxSlices/rtkQuery/subgraphApiSlice/subgraphReducerPath.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"subgraphReducerPath.d.ts","sourceRoot":"","sources":["../../../../../src/reduxSlices/rtkQuery/subgraphApiSlice/subgraphReducerPath.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,mBAAmB,GAAG,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ethersError.d.ts","sourceRoot":"","sources":["../../../../src/reduxSlices/transactionTrackerSlice/ethersError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAC,MAAM,QAAQ,CAAC;AAE9B,
|
|
1
|
+
{"version":3,"file":"ethersError.d.ts","sourceRoot":"","sources":["../../../../src/reduxSlices/transactionTrackerSlice/ethersError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAC,MAAM,QAAQ,CAAC;AAE9B,MAAM,MAAM,WAAW,GAAG,KAAK,GAAG;IAC9B,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,UAAU,GAAG,UAAU,GAAG,WAAW,CAAC;IAC/C,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ethers } from 'ethers';
|
|
2
2
|
import { TransactionTitle } from './transactionTitle';
|
|
3
|
-
export
|
|
3
|
+
export type TransactionStatus = 'Pending' | 'Succeeded' | 'Failed' | 'Unknown';
|
|
4
4
|
export interface TrackedTransaction {
|
|
5
5
|
chainId: number;
|
|
6
6
|
hash: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trackedTransaction.d.ts","sourceRoot":"","sources":["../../../../src/reduxSlices/transactionTrackerSlice/trackedTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAC,MAAM,QAAQ,CAAC;AAE9B,OAAO,EAAC,gBAAgB,EAAC,MAAM,oBAAoB,CAAC;AAEpD,
|
|
1
|
+
{"version":3,"file":"trackedTransaction.d.ts","sourceRoot":"","sources":["../../../../src/reduxSlices/transactionTrackerSlice/trackedTransaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAC,MAAM,QAAQ,CAAC;AAE9B,OAAO,EAAC,gBAAgB,EAAC,MAAM,oBAAoB,CAAC;AAEpD,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,SAAS,CAAC;AAG/E,MAAM,WAAW,kBAAkB;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,iBAAiB,CAAC;IAC1B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,CAAC;IAChC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,KAAK,EAAE,gBAAgB,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnC;;OAEG;IACH,gBAAgB,CAAC,EAAE,IAAI,CAAC;IACxB;;OAEG;IACH,2BAA2B,CAAC,EAAE,MAAM,CAAC;CACxC"}
|
|
@@ -6,5 +6,5 @@ export interface TransactionTitleOverrides {
|
|
|
6
6
|
/**
|
|
7
7
|
* For easily recognizing what was the intent of the transaction.
|
|
8
8
|
*/
|
|
9
|
-
export
|
|
9
|
+
export type TransactionTitle = 'Create Stream' | 'Update Stream' | 'Close Stream' | 'Create Index' | 'Distribute Index' | 'Update Index Subscription Units' | 'Approve Index Subscription' | 'Claim from Index Subscription' | 'Delete Index Subscription' | 'Revoke Index Subscription' | 'Upgrade to Super Token' | 'Downgrade from Super Token' | 'Transfer Super Token' | keyof TransactionTitleOverrides;
|
|
10
10
|
//# sourceMappingURL=transactionTitle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transactionTitle.d.ts","sourceRoot":"","sources":["../../../../src/reduxSlices/transactionTrackerSlice/transactionTitle.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,yBAAyB;CAAG;AAE7C;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"transactionTitle.d.ts","sourceRoot":"","sources":["../../../../src/reduxSlices/transactionTrackerSlice/transactionTitle.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,yBAAyB;CAAG;AAE7C;;GAEG;AACH,MAAM,MAAM,gBAAgB,GACtB,eAAe,GACf,eAAe,GACf,cAAc,GACd,cAAc,GACd,kBAAkB,GAClB,iCAAiC,GACjC,4BAA4B,GAC5B,+BAA+B,GAC/B,2BAA2B,GAC3B,2BAA2B,GAC3B,wBAAwB,GACxB,4BAA4B,GAC5B,sBAAsB,GACtB,MAAM,yBAAyB,CAAC"}
|
|
@@ -37,6 +37,6 @@ export declare const createTransactionTrackerSlice: () => {
|
|
|
37
37
|
getInitialState: () => import("@reduxjs/toolkit").EntityState<import("./trackedTransaction").TrackedTransaction>;
|
|
38
38
|
reducerPath: "superfluid_transactions";
|
|
39
39
|
};
|
|
40
|
-
export
|
|
41
|
-
export
|
|
40
|
+
export type TransactionTrackerSlice = ReturnType<typeof createTransactionTrackerSlice>;
|
|
41
|
+
export type TransactionTrackerReducer = ReturnType<TransactionTrackerSlice['getInitialState']>;
|
|
42
42
|
//# sourceMappingURL=transactionTrackerSlice.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transactionTrackerSlice.d.ts","sourceRoot":"","sources":["../../../../src/reduxSlices/transactionTrackerSlice/transactionTrackerSlice.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,6BAA6B,2BAAqC,CAAC;AAEhF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUxC,CAAC;AAEH,
|
|
1
|
+
{"version":3,"file":"transactionTrackerSlice.d.ts","sourceRoot":"","sources":["../../../../src/reduxSlices/transactionTrackerSlice/transactionTrackerSlice.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,6BAA6B,2BAAqC,CAAC;AAEhF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUxC,CAAC;AAEH,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAAC,OAAO,6BAA6B,CAAC,CAAC;AACvF,MAAM,MAAM,yBAAyB,GAAG,UAAU,CAAC,uBAAuB,CAAC,iBAAiB,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superfluid-finance/sdk-redux",
|
|
3
|
-
"version": "0.4.1-dev.
|
|
3
|
+
"version": "0.4.1-dev.d4f39a2.0",
|
|
4
4
|
"description": "SDK Redux for streamlined front-end application development with Superfluid Protocol",
|
|
5
5
|
"homepage": "https://docs.superfluid.finance/",
|
|
6
6
|
"repository": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"node": ">=12"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"graphql-request": "^
|
|
40
|
+
"graphql-request": "^5.0.0",
|
|
41
41
|
"lodash": "^4.17.21",
|
|
42
42
|
"promise-retry": "^2.0.1"
|
|
43
43
|
},
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@types/react-dom": "^18",
|
|
49
49
|
"react": "^18",
|
|
50
50
|
"react-dom": "^18",
|
|
51
|
-
"react-redux": "^8.0.
|
|
51
|
+
"react-redux": "^8.0.5"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"@reduxjs/toolkit": "^1.7.0 || ^1.8.0 || ^1.9.0",
|