@liquid-af/sdk 0.9.0 → 0.10.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.
Files changed (44) hide show
  1. package/dist/client.d.ts +0 -5
  2. package/dist/client.d.ts.map +1 -1
  3. package/dist/client.js +1 -5
  4. package/dist/client.js.map +1 -1
  5. package/dist/events/index.d.ts +1 -1
  6. package/dist/events/index.d.ts.map +1 -1
  7. package/dist/events/index.js +1 -1
  8. package/dist/events/index.js.map +1 -1
  9. package/dist/events/parser.d.ts +12 -19
  10. package/dist/events/parser.d.ts.map +1 -1
  11. package/dist/events/parser.js +115 -91
  12. package/dist/events/parser.js.map +1 -1
  13. package/dist/idl/liquid.d.ts +61 -0
  14. package/dist/idl/liquid.d.ts.map +1 -1
  15. package/dist/idl/liquid.json +61 -0
  16. package/dist/idl/liquid_events.d.ts +258 -724
  17. package/dist/idl/liquid_events.d.ts.map +1 -1
  18. package/dist/idl/liquid_events.json +287 -753
  19. package/dist/idl/liquid_state.d.ts +18 -5
  20. package/dist/idl/liquid_state.d.ts.map +1 -1
  21. package/dist/idl/liquid_state.json +18 -5
  22. package/dist/instructions/index.d.ts +2 -2
  23. package/dist/instructions/index.d.ts.map +1 -1
  24. package/dist/instructions/index.js +1 -1
  25. package/dist/instructions/index.js.map +1 -1
  26. package/dist/instructions/liquid-state.d.ts +0 -13
  27. package/dist/instructions/liquid-state.d.ts.map +1 -1
  28. package/dist/instructions/liquid-state.js +0 -15
  29. package/dist/instructions/liquid-state.js.map +1 -1
  30. package/dist/types.d.ts +6 -3
  31. package/dist/types.d.ts.map +1 -1
  32. package/package.json +8 -8
  33. package/src/client.ts +0 -8
  34. package/src/events/index.ts +1 -5
  35. package/src/events/parser.ts +137 -107
  36. package/src/idl/liquid.json +61 -0
  37. package/src/idl/liquid.ts +61 -0
  38. package/src/idl/liquid_events.json +287 -753
  39. package/src/idl/liquid_events.ts +258 -724
  40. package/src/idl/liquid_state.json +18 -5
  41. package/src/idl/liquid_state.ts +18 -5
  42. package/src/instructions/index.ts +0 -2
  43. package/src/instructions/liquid-state.ts +0 -25
  44. package/src/types.ts +6 -3
@@ -1103,6 +1103,13 @@ export type Liquid = {
1103
1103
  "Liquid events program for centralized event emission."
1104
1104
  ];
1105
1105
  "address": "EventsQeXA43nLKR69DhHwNsJ6aM512AweMCgG3wG8zG";
1106
+ },
1107
+ {
1108
+ "name": "instructions";
1109
+ "docs": [
1110
+ "Instructions sysvar for CPI caller detection."
1111
+ ];
1112
+ "address": "Sysvar1nstructions1111111111111111111111111";
1106
1113
  }
1107
1114
  ];
1108
1115
  "args": [
@@ -2114,6 +2121,13 @@ export type Liquid = {
2114
2121
  "Liquid events program for centralized event emission."
2115
2122
  ];
2116
2123
  "address": "EventsQeXA43nLKR69DhHwNsJ6aM512AweMCgG3wG8zG";
2124
+ },
2125
+ {
2126
+ "name": "instructions";
2127
+ "docs": [
2128
+ "Instructions sysvar for CPI caller detection."
2129
+ ];
2130
+ "address": "Sysvar1nstructions1111111111111111111111111";
2117
2131
  }
2118
2132
  ];
2119
2133
  "args": [
@@ -3033,6 +3047,13 @@ export type Liquid = {
3033
3047
  "Liquid events program for centralized event emission."
3034
3048
  ];
3035
3049
  "address": "EventsQeXA43nLKR69DhHwNsJ6aM512AweMCgG3wG8zG";
3050
+ },
3051
+ {
3052
+ "name": "instructions";
3053
+ "docs": [
3054
+ "Instructions sysvar for CPI caller detection."
3055
+ ];
3056
+ "address": "Sysvar1nstructions1111111111111111111111111";
3036
3057
  }
3037
3058
  ];
3038
3059
  "args": [
@@ -4044,6 +4065,13 @@ export type Liquid = {
4044
4065
  "Liquid events program for centralized event emission."
4045
4066
  ];
4046
4067
  "address": "EventsQeXA43nLKR69DhHwNsJ6aM512AweMCgG3wG8zG";
4068
+ },
4069
+ {
4070
+ "name": "instructions";
4071
+ "docs": [
4072
+ "Instructions sysvar for CPI caller detection."
4073
+ ];
4074
+ "address": "Sysvar1nstructions1111111111111111111111111";
4047
4075
  }
4048
4076
  ];
4049
4077
  "args": [
@@ -9250,6 +9278,13 @@ export type Liquid = {
9250
9278
  "Liquid events program for centralized event emission."
9251
9279
  ];
9252
9280
  "address": "EventsQeXA43nLKR69DhHwNsJ6aM512AweMCgG3wG8zG";
9281
+ },
9282
+ {
9283
+ "name": "instructions";
9284
+ "docs": [
9285
+ "Instructions sysvar for CPI caller detection."
9286
+ ];
9287
+ "address": "Sysvar1nstructions1111111111111111111111111";
9253
9288
  }
9254
9289
  ];
9255
9290
  "args": [
@@ -10261,6 +10296,13 @@ export type Liquid = {
10261
10296
  "Liquid events program for centralized event emission."
10262
10297
  ];
10263
10298
  "address": "EventsQeXA43nLKR69DhHwNsJ6aM512AweMCgG3wG8zG";
10299
+ },
10300
+ {
10301
+ "name": "instructions";
10302
+ "docs": [
10303
+ "Instructions sysvar for CPI caller detection."
10304
+ ];
10305
+ "address": "Sysvar1nstructions1111111111111111111111111";
10264
10306
  }
10265
10307
  ];
10266
10308
  "args": [
@@ -11180,6 +11222,13 @@ export type Liquid = {
11180
11222
  "Liquid events program for centralized event emission."
11181
11223
  ];
11182
11224
  "address": "EventsQeXA43nLKR69DhHwNsJ6aM512AweMCgG3wG8zG";
11225
+ },
11226
+ {
11227
+ "name": "instructions";
11228
+ "docs": [
11229
+ "Instructions sysvar for CPI caller detection."
11230
+ ];
11231
+ "address": "Sysvar1nstructions1111111111111111111111111";
11183
11232
  }
11184
11233
  ];
11185
11234
  "args": [
@@ -12191,6 +12240,13 @@ export type Liquid = {
12191
12240
  "Liquid events program for centralized event emission."
12192
12241
  ];
12193
12242
  "address": "EventsQeXA43nLKR69DhHwNsJ6aM512AweMCgG3wG8zG";
12243
+ },
12244
+ {
12245
+ "name": "instructions";
12246
+ "docs": [
12247
+ "Instructions sysvar for CPI caller detection."
12248
+ ];
12249
+ "address": "Sysvar1nstructions1111111111111111111111111";
12194
12250
  }
12195
12251
  ];
12196
12252
  "args": [
@@ -13141,6 +13197,11 @@ export type Liquid = {
13141
13197
  "code": 6045;
13142
13198
  "name": "buybackVaultNotDrained";
13143
13199
  "msg": "Buyback vault must be drained before migration";
13200
+ },
13201
+ {
13202
+ "code": 6046;
13203
+ "name": "callerBlacklisted";
13204
+ "msg": "CPI caller is blacklisted";
13144
13205
  }
13145
13206
  ];
13146
13207
  "types": [