@scallop-io/sui-scallop-sdk 2.3.0-lst-x-oracle-alpha.6 → 2.3.0-lst-x-oracle-alpha.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scallop-io/sui-scallop-sdk",
3
- "version": "2.3.0-lst-x-oracle-alpha.6",
3
+ "version": "2.3.0-lst-x-oracle-alpha.8",
4
4
  "description": "Typescript sdk for interacting with Scallop contract on SUI",
5
5
  "keywords": [
6
6
  "sui",
@@ -69,9 +69,9 @@ export const TEST_ADDRESSES: AddressesInterface = {
69
69
  supra: '',
70
70
  switchboard: '',
71
71
  pyth: {
72
- feed: '23d7315113f5b1d3ba7a83604c44b94d79f4fd69af77f804fc7f920a6dc65744',
72
+ feed: '17cd845b16e874485b2684f8b8d1517d744105dbb904eec30222717f4bc9ee0d',
73
73
  feedObject:
74
- '0x801dbc2f0053d34734814b2d6df491ce7807a725fe9a01ad74a07e9c51396c37',
74
+ '0xd779885c5246357e24cbde7348f2d81f756d9650975c02d81346b15d8b557ebf',
75
75
  },
76
76
  },
77
77
  },
package/src/index.ts CHANGED
@@ -10,3 +10,4 @@ export {
10
10
  ScallopIndexer,
11
11
  ScallopUtils,
12
12
  } from './models';
13
+ export * from './types';
@@ -16,12 +16,16 @@ export type CoreIds = {
16
16
  };
17
17
 
18
18
  export type NestedResult = Extract<Argument, { $kind: 'NestedResult' }>;
19
- type Obligation = NestedResult;
20
- type ObligationKey = NestedResult;
21
- type ObligationHotPotato = NestedResult;
19
+ type ResultAsObligation = NestedResult;
20
+ type ResultAsObligationKey = NestedResult;
21
+ type ResultAsObligationHotPotato = NestedResult;
22
22
 
23
23
  export type CoreNormalMethods = {
24
- openObligation: () => [Obligation, ObligationKey, ObligationHotPotato];
24
+ openObligation: () => [
25
+ ResultAsObligation,
26
+ ResultAsObligationKey,
27
+ ResultAsObligationHotPotato,
28
+ ];
25
29
  returnObligation: (
26
30
  obligation: SuiObjectArg,
27
31
  obligationHotPotato: SuiObjectArg
@@ -0,0 +1,5 @@
1
+ export type * from './builder';
2
+ export type * from './constant';
3
+ export type * from './query';
4
+ export type * from './address';
5
+ export type * from './util';