@thru/programs 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thru/programs",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./token": {
@@ -27,10 +27,15 @@
27
27
  "types": "./dist/clob/index.d.ts",
28
28
  "import": "./dist/clob/index.js",
29
29
  "require": "./dist/clob/index.cjs"
30
+ },
31
+ "./oracle": {
32
+ "types": "./dist/oracle/index.d.ts",
33
+ "import": "./dist/oracle/index.js",
34
+ "require": "./dist/oracle/index.cjs"
30
35
  }
31
36
  },
32
37
  "dependencies": {
33
- "@thru/sdk": "0.3.1"
38
+ "@thru/sdk": "0.3.3"
34
39
  },
35
40
  "devDependencies": {
36
41
  "@types/node": "^25.9.1",
package/src/clob/index.ts CHANGED
@@ -118,6 +118,9 @@ export const CLOB_STATUS_FLAG_POST_ONLY = 1 << 1;
118
118
  export const CLOB_STATUS_FLAG_WITHDRAWALS_FROZEN = 1 << 2;
119
119
  export const CLOB_STATUS_FLAG_DEPOSITS_FROZEN = 1 << 3;
120
120
 
121
+ export const CLOB_PROGRAM_ADDRESS =
122
+ 'tamjQOFxFORIZhqbJjN83oAkRmSbKhLmULpvSHblK4GGIg';
123
+
121
124
  export const CLOB_ORDER_TYPE_GTC = 0;
122
125
  export const CLOB_ORDER_TYPE_MTL = 1;
123
126
  export const CLOB_ORDER_TYPE_ALO = 2;