@indigo-labs/indigo-sdk 0.5.9 → 0.5.10
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/index.d.mts +3 -4
- package/dist/index.d.ts +3 -4
- package/dist/index.js +138 -142
- package/dist/index.mjs +126 -130
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -7,10 +7,9 @@ export { cardanoOffchainCommon as OffchainCommon };
|
|
|
7
7
|
import * as Core from '@evolution-sdk/evolution';
|
|
8
8
|
import { TSchema, Schema, Data as Data$1 } from '@evolution-sdk/evolution';
|
|
9
9
|
export { Core as Evo };
|
|
10
|
-
import { option, ord } from 'fp-ts';
|
|
10
|
+
import { option, ord, predicate } from 'fp-ts';
|
|
11
11
|
import * as effect_Schema from 'effect/Schema';
|
|
12
12
|
import { Schema as Schema$1 } from 'effect';
|
|
13
|
-
import { Predicate } from 'fp-ts/lib/Predicate';
|
|
14
13
|
import Decimal from 'decimal.js';
|
|
15
14
|
import { ParsedPayload } from '@pythnetwork/pyth-lazer-sdk';
|
|
16
15
|
|
|
@@ -4102,8 +4101,8 @@ declare function insertSorted<T>(arr: T[], item: T, ord: ord.Ord<T>): T[];
|
|
|
4102
4101
|
/**
|
|
4103
4102
|
* Replace when existent, otherwise add at the end.
|
|
4104
4103
|
*/
|
|
4105
|
-
declare const repsertReadonlyArr: <K, V>(predicate: Predicate<K>, val: V, mkKey: () => K) => (arr: ReadonlyArray<readonly [K, V]>) => ReadonlyArray<readonly [K, V]>;
|
|
4106
|
-
declare const repsertWithReadonlyArr: <K, V>(predicate: Predicate<K>, replaceVal: (oldVal: V) => V, newVal: () => V, mkKey: () => K) => (arr: ReadonlyArray<readonly [K, V]>) => ReadonlyArray<readonly [K, V]>;
|
|
4104
|
+
declare const repsertReadonlyArr: <K, V>(predicate: predicate.Predicate<K>, val: V, mkKey: () => K) => (arr: ReadonlyArray<readonly [K, V]>) => ReadonlyArray<readonly [K, V]>;
|
|
4105
|
+
declare const repsertWithReadonlyArr: <K, V>(predicate: predicate.Predicate<K>, replaceVal: (oldVal: V) => V, newVal: () => V, mkKey: () => K) => (arr: ReadonlyArray<readonly [K, V]>) => ReadonlyArray<readonly [K, V]>;
|
|
4107
4106
|
|
|
4108
4107
|
/**
|
|
4109
4108
|
* Returns the inline datum.
|
package/dist/index.d.ts
CHANGED
|
@@ -7,10 +7,9 @@ export { cardanoOffchainCommon as OffchainCommon };
|
|
|
7
7
|
import * as Core from '@evolution-sdk/evolution';
|
|
8
8
|
import { TSchema, Schema, Data as Data$1 } from '@evolution-sdk/evolution';
|
|
9
9
|
export { Core as Evo };
|
|
10
|
-
import { option, ord } from 'fp-ts';
|
|
10
|
+
import { option, ord, predicate } from 'fp-ts';
|
|
11
11
|
import * as effect_Schema from 'effect/Schema';
|
|
12
12
|
import { Schema as Schema$1 } from 'effect';
|
|
13
|
-
import { Predicate } from 'fp-ts/lib/Predicate';
|
|
14
13
|
import Decimal from 'decimal.js';
|
|
15
14
|
import { ParsedPayload } from '@pythnetwork/pyth-lazer-sdk';
|
|
16
15
|
|
|
@@ -4102,8 +4101,8 @@ declare function insertSorted<T>(arr: T[], item: T, ord: ord.Ord<T>): T[];
|
|
|
4102
4101
|
/**
|
|
4103
4102
|
* Replace when existent, otherwise add at the end.
|
|
4104
4103
|
*/
|
|
4105
|
-
declare const repsertReadonlyArr: <K, V>(predicate: Predicate<K>, val: V, mkKey: () => K) => (arr: ReadonlyArray<readonly [K, V]>) => ReadonlyArray<readonly [K, V]>;
|
|
4106
|
-
declare const repsertWithReadonlyArr: <K, V>(predicate: Predicate<K>, replaceVal: (oldVal: V) => V, newVal: () => V, mkKey: () => K) => (arr: ReadonlyArray<readonly [K, V]>) => ReadonlyArray<readonly [K, V]>;
|
|
4104
|
+
declare const repsertReadonlyArr: <K, V>(predicate: predicate.Predicate<K>, val: V, mkKey: () => K) => (arr: ReadonlyArray<readonly [K, V]>) => ReadonlyArray<readonly [K, V]>;
|
|
4105
|
+
declare const repsertWithReadonlyArr: <K, V>(predicate: predicate.Predicate<K>, replaceVal: (oldVal: V) => V, newVal: () => V, mkKey: () => K) => (arr: ReadonlyArray<readonly [K, V]>) => ReadonlyArray<readonly [K, V]>;
|
|
4107
4106
|
|
|
4108
4107
|
/**
|
|
4109
4108
|
* Returns the inline datum.
|