@bounded-sh/core 0.0.55 → 0.0.56

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 (29) hide show
  1. package/dist/{index-BXvTkFw2.js → index-2e3ksoSR.js} +7 -7
  2. package/dist/{index-BXvTkFw2.js.map → index-2e3ksoSR.js.map} +1 -1
  3. package/dist/{index-qcTp-5Mt.mjs → index-BZhK47ZR.mjs} +7 -7
  4. package/dist/{index-qcTp-5Mt.mjs.map → index-BZhK47ZR.mjs.map} +1 -1
  5. package/dist/index.d.ts +1 -2
  6. package/dist/index.js +1 -1
  7. package/dist/index.mjs +1 -1
  8. package/dist/{realtime-store-DmzboN-H.js → realtime-store-Cp7xYNS3.js} +2 -2
  9. package/dist/{realtime-store-DmzboN-H.js.map → realtime-store-Cp7xYNS3.js.map} +1 -1
  10. package/dist/{realtime-store-BzKEmyxq.mjs → realtime-store-CpdBV8Ma.mjs} +2 -2
  11. package/dist/{realtime-store-BzKEmyxq.mjs.map → realtime-store-CpdBV8Ma.mjs.map} +1 -1
  12. package/dist/{sol-utils-oBMCMbe_.js → sol-utils-Cwxyl2h6.js} +2 -13
  13. package/dist/sol-utils-Cwxyl2h6.js.map +1 -0
  14. package/dist/{sol-utils-BhjxvQUj.mjs → sol-utils-DVjPeoMy.mjs} +2 -13
  15. package/dist/sol-utils-DVjPeoMy.mjs.map +1 -0
  16. package/dist/{solana-message-XxVgbtp2.mjs → solana-message-Cfg_S81A.mjs} +2 -2
  17. package/dist/{solana-message-XxVgbtp2.mjs.map → solana-message-Cfg_S81A.mjs.map} +1 -1
  18. package/dist/{solana-message-I9w1TbAj.js → solana-message-DHJ8xSuS.js} +2 -2
  19. package/dist/{solana-message-I9w1TbAj.js.map → solana-message-DHJ8xSuS.js.map} +1 -1
  20. package/dist/{solana-operations-ehEsfO5g.mjs → solana-operations-BsnDXoeq.mjs} +4 -4
  21. package/dist/{solana-operations-ehEsfO5g.mjs.map → solana-operations-BsnDXoeq.mjs.map} +1 -1
  22. package/dist/{solana-operations-BUJkyVxN.js → solana-operations-DcjCYmuL.js} +4 -4
  23. package/dist/{solana-operations-BUJkyVxN.js.map → solana-operations-DcjCYmuL.js.map} +1 -1
  24. package/dist/utils/sol/{poof4b5pk1L9tmThvBmaABjcyjfhFGbMbQP5BXk2QZpDevnet-program.d.ts → openTv7fbpYSseNHYmCZFZ1CZgj4r8D9fKNgEz1qo6FDevnet-program.d.ts} +97 -113
  25. package/dist/utils/sol/{poof4b5pk1L9tmThvBmaABjcyjfhFGbMbQP5BXk2QZpMainnet-program.d.ts → openTv7fbpYSseNHYmCZFZ1CZgj4r8D9fKNgEz1qo6FMainnet-program.d.ts} +97 -113
  26. package/package.json +1 -1
  27. package/dist/sol-utils-BhjxvQUj.mjs.map +0 -1
  28. package/dist/sol-utils-oBMCMbe_.js.map +0 -1
  29. package/dist/utils/sol/taro6CvKqwrYrDc16ufYgzQ2NZcyyVKStffbtudrhRuDevnet-program.d.ts +0 -1161
@@ -5,7 +5,7 @@
5
5
  * IDL can be found at `target/idl/tarobase.json`.
6
6
  */
7
7
  export type Tarobase = {
8
- "address": "poof4b5pk1L9tmThvBmaABjcyjfhFGbMbQP5BXk2QZp";
8
+ "address": "openTv7fbpYSseNHYmCZFZ1CZgj4r8D9fKNgEz1qo6F";
9
9
  "metadata": {
10
10
  "name": "tarobase";
11
11
  "version": "0.1.0";
@@ -2086,196 +2086,151 @@ export type Tarobase = {
2086
2086
  ];
2087
2087
  }
2088
2088
  ];
2089
+ "events": [
2090
+ {
2091
+ "name": "revealRequestWitness";
2092
+ "discriminator": [
2093
+ 133,
2094
+ 169,
2095
+ 193,
2096
+ 134,
2097
+ 148,
2098
+ 254,
2099
+ 142,
2100
+ 41
2101
+ ];
2102
+ }
2103
+ ];
2089
2104
  "errors": [
2090
2105
  {
2091
2106
  "code": 6000;
2092
- "name": "missingTypeTag";
2093
- "msg": "Missing type tag for literal";
2107
+ "name": "unauthorized";
2108
+ "msg": "Unauthorized: Only the owner can perform this action.";
2094
2109
  },
2095
2110
  {
2096
2111
  "code": 6001;
2097
- "name": "notEnoughBytes";
2098
- "msg": "Not enough bytes";
2112
+ "name": "unauthorizedUpdate";
2113
+ "msg": "Unauthorized: Failed policy check to update this document.";
2099
2114
  },
2100
2115
  {
2101
2116
  "code": 6002;
2102
- "name": "invalidFieldId";
2103
- "msg": "Invalid field ID";
2117
+ "name": "unauthorizedDelete";
2118
+ "msg": "Unauthorized: Failed policy check to delete this document.";
2104
2119
  },
2105
2120
  {
2106
2121
  "code": 6003;
2107
- "name": "stackUnderflow";
2108
- "msg": "Stack underflow";
2122
+ "name": "unauthorizedCreate";
2123
+ "msg": "Unauthorized: Failed policy check to create document at this path.";
2109
2124
  },
2110
2125
  {
2111
2126
  "code": 6004;
2112
- "name": "typeMismatch";
2113
- "msg": "Type mismatch in operation";
2127
+ "name": "createHookFailed";
2128
+ "msg": "Create hook failed: Document creation was rejected by hook.";
2114
2129
  },
2115
2130
  {
2116
2131
  "code": 6005;
2117
- "name": "invalidArgument";
2118
- "msg": "Invalid argument";
2132
+ "name": "updateHookFailed";
2133
+ "msg": "Update hook failed: Document update was rejected by hook.";
2119
2134
  },
2120
2135
  {
2121
2136
  "code": 6006;
2122
- "name": "invalidConversion";
2123
- "msg": "Invalid conversion";
2137
+ "name": "deleteHookFailed";
2138
+ "msg": "Delete hook failed: Document deletion was rejected by hook.";
2124
2139
  },
2125
2140
  {
2126
2141
  "code": 6007;
2127
- "name": "unknownLiteralType";
2128
- "msg": "Unknown literal type";
2142
+ "name": "executionDataUpdating";
2143
+ "msg": "GenericPathExecutionData is currently being updated.";
2129
2144
  },
2130
2145
  {
2131
2146
  "code": 6008;
2132
- "name": "invalidOpcode";
2133
- "msg": "Invalid opcode";
2147
+ "name": "missingAttestationSigner";
2148
+ "msg": "Missing attestation server co-signer for CPI transaction.";
2134
2149
  },
2135
2150
  {
2136
2151
  "code": 6009;
2137
- "name": "invalidTimeTag";
2138
- "msg": "Invalid time tag";
2152
+ "name": "appIsNotInitialized";
2153
+ "msg": "App is not initialized";
2139
2154
  },
2140
2155
  {
2141
2156
  "code": 6010;
2142
- "name": "functionNotImplemented";
2143
- "msg": "Function not implemented";
2157
+ "name": "appIdTooLong";
2158
+ "msg": "app_id exceeds the maximum allowed length.";
2144
2159
  },
2145
2160
  {
2146
2161
  "code": 6011;
2147
- "name": "invalidFunctionType";
2148
- "msg": "Invalid function type";
2162
+ "name": "invalidAuthorityPermit";
2163
+ "msg": "Invalid authority permit.";
2149
2164
  },
2150
2165
  {
2151
2166
  "code": 6012;
2152
- "name": "invalidFieldType";
2153
- "msg": "Invalid field type";
2167
+ "name": "numericalOverflow";
2168
+ "msg": "numericalOverflow";
2154
2169
  },
2155
2170
  {
2156
2171
  "code": 6013;
2157
- "name": "missingSystemProgram";
2158
- "msg": "Missing or invalid system program in accounts";
2172
+ "name": "missingSponsorAccount";
2173
+ "msg": "Sponsor wallet account missing from remaining_accounts for sponsor-funded document refund.";
2159
2174
  },
2160
2175
  {
2161
2176
  "code": 6014;
2162
- "name": "missingTokenProgram";
2163
- "msg": "Missing or invalid token program in accounts";
2177
+ "name": "invalidGovernanceMode";
2178
+ "msg": "The requested app upgrade governance mode is invalid.";
2164
2179
  },
2165
2180
  {
2166
2181
  "code": 6015;
2167
- "name": "missingSourceWallet";
2168
- "msg": "Missing or invalid source wallet account in accounts (for signing)";
2182
+ "name": "invalidGovernanceAccount";
2183
+ "msg": "The app upgrade governance account or scope is invalid.";
2169
2184
  },
2170
2185
  {
2171
2186
  "code": 6016;
2172
- "name": "missingDestWallet";
2173
- "msg": "Missing or invalid destination wallet account in accounts (for signing)";
2187
+ "name": "appUpgradesImmutable";
2188
+ "msg": "The app has permanently disabled upgrades.";
2174
2189
  },
2175
2190
  {
2176
2191
  "code": 6017;
2177
- "name": "missingSourceAta";
2178
- "msg": "Missing or invalid derived source ATA in accounts";
2192
+ "name": "governanceControllerMissing";
2193
+ "msg": "The governance controller policy is missing or does not match its declared scope.";
2179
2194
  },
2180
2195
  {
2181
2196
  "code": 6018;
2182
- "name": "missingDestAta";
2183
- "msg": "Missing or invalid derived destination ATA in accounts";
2197
+ "name": "governanceControllerUnsafe";
2198
+ "msg": "The governance controller policy is updating, empty, or contains write effects.";
2184
2199
  },
2185
2200
  {
2186
2201
  "code": 6019;
2187
- "name": "noMatchingTokenAccount";
2188
- "msg": "Could not find a matching token account for the given address/mint.";
2202
+ "name": "governancePolicyRejected";
2203
+ "msg": "The governance controller policy rejected this manifest.";
2189
2204
  },
2190
2205
  {
2191
2206
  "code": 6020;
2192
- "name": "missingSysvarRent";
2193
- "msg": "Missing sysvar rent account in accounts";
2207
+ "name": "invalidGovernedSession";
2208
+ "msg": "The governed update session nonce, limits, or lifetime is invalid.";
2194
2209
  },
2195
2210
  {
2196
2211
  "code": 6021;
2197
- "name": "missingSysvarInstructions";
2198
- "msg": "Missing sysvar instructions account in accounts";
2212
+ "name": "invalidGovernedManifestProof";
2213
+ "msg": "The governed manifest proof is invalid.";
2199
2214
  },
2200
2215
  {
2201
2216
  "code": 6022;
2202
- "name": "missingProgram";
2203
- "msg": "Missing program";
2217
+ "name": "invalidGovernedPathStage";
2218
+ "msg": "The governed path stage is invalid for this session or operation.";
2204
2219
  },
2205
2220
  {
2206
2221
  "code": 6023;
2207
- "name": "missingAccount";
2208
- "msg": "Missing account in remaining_accounts";
2222
+ "name": "governedPathStateMismatch";
2223
+ "msg": "The governed path final state does not match the approved manifest.";
2209
2224
  },
2210
2225
  {
2211
2226
  "code": 6024;
2212
- "name": "invalidAccountAddress";
2213
- "msg": "Invalid account address";
2227
+ "name": "governedUpdateIncomplete";
2228
+ "msg": "The governed update is incomplete or is not ready for this transition.";
2214
2229
  },
2215
2230
  {
2216
2231
  "code": 6025;
2217
- "name": "randomnessRequestPending";
2218
- "msg": "Randomness request is still pending";
2219
- },
2220
- {
2221
- "code": 6026;
2222
- "name": "invalidPriceAccount";
2223
- "msg": "Invalid price account";
2224
- },
2225
- {
2226
- "code": 6027;
2227
- "name": "stalePrice";
2228
- "msg": "stale price";
2229
- },
2230
- {
2231
- "code": 6028;
2232
- "name": "numericalOverflow";
2233
- "msg": "Numerical overflow";
2234
- },
2235
- {
2236
- "code": 6029;
2237
- "name": "missingConfigField";
2238
- "msg": "Missing required config field";
2239
- },
2240
- {
2241
- "code": 6030;
2242
- "name": "bytesTooLarge";
2243
- "msg": "Bytes value exceeds the maximum allowed size";
2244
- },
2245
- {
2246
- "code": 6031;
2247
- "name": "invalidHexString";
2248
- "msg": "Invalid hex string";
2249
- },
2250
- {
2251
- "code": 6032;
2252
- "name": "deniedProgram";
2253
- "msg": "Program id is denied as a CPI/owner target";
2254
- },
2255
- {
2256
- "code": 6033;
2257
- "name": "crossAppWriteNotAllowed";
2258
- "msg": "Cross-app write is not allowed here";
2259
- },
2260
- {
2261
- "code": 6034;
2262
- "name": "crossAppRuleFailed";
2263
- "msg": "Cross-app rule evaluation failed";
2264
- },
2265
- {
2266
- "code": 6035;
2267
- "name": "accountAlreadyExists";
2268
- "msg": "Account already exists";
2269
- },
2270
- {
2271
- "code": 6036;
2272
- "name": "unauthorizedCpiInstruction";
2273
- "msg": "CPI instruction data is not authorized for this protocol";
2274
- },
2275
- {
2276
- "code": 6037;
2277
- "name": "invalidAccountDiscriminator";
2278
- "msg": "Account owner, length, or discriminator is invalid";
2232
+ "name": "governedRecoveryRequiresResume";
2233
+ "msg": "A staged governed update must be resumed; it cannot be safely cancelled in place.";
2279
2234
  }
2280
2235
  ];
2281
2236
  "types": [
@@ -2843,6 +2798,35 @@ export type Tarobase = {
2843
2798
  ];
2844
2799
  };
2845
2800
  },
2801
+ {
2802
+ "name": "revealRequestWitness";
2803
+ "docs": [
2804
+ "The authenticated on-chain witness for a randomness request. It records the",
2805
+ "exact (app_id, random_id, reveal_path) tuple that the `RR:`/`RID:` logs",
2806
+ "carry, but as an event-CPI inner instruction rather than a log: inner",
2807
+ "instruction data is not subject to the log collector, so it survives log",
2808
+ "truncation. The server-driven reveal driver reads it from",
2809
+ "`meta.innerInstructions` to bind a random_id to its declared reveal path",
2810
+ "even when the logs were truncated away."
2811
+ ];
2812
+ "type": {
2813
+ "kind": "struct";
2814
+ "fields": [
2815
+ {
2816
+ "name": "appId";
2817
+ "type": "string";
2818
+ },
2819
+ {
2820
+ "name": "randomId";
2821
+ "type": "string";
2822
+ },
2823
+ {
2824
+ "name": "revealPath";
2825
+ "type": "string";
2826
+ }
2827
+ ];
2828
+ };
2829
+ },
2846
2830
  {
2847
2831
  "name": "setDocumentData";
2848
2832
  "type": {
@@ -5,7 +5,7 @@
5
5
  * IDL can be found at `target/idl/tarobase.json`.
6
6
  */
7
7
  export type Tarobase = {
8
- "address": "poof4b5pk1L9tmThvBmaABjcyjfhFGbMbQP5BXk2QZp";
8
+ "address": "openTv7fbpYSseNHYmCZFZ1CZgj4r8D9fKNgEz1qo6F";
9
9
  "metadata": {
10
10
  "name": "tarobase";
11
11
  "version": "0.1.0";
@@ -2086,196 +2086,151 @@ export type Tarobase = {
2086
2086
  ];
2087
2087
  }
2088
2088
  ];
2089
+ "events": [
2090
+ {
2091
+ "name": "revealRequestWitness";
2092
+ "discriminator": [
2093
+ 133,
2094
+ 169,
2095
+ 193,
2096
+ 134,
2097
+ 148,
2098
+ 254,
2099
+ 142,
2100
+ 41
2101
+ ];
2102
+ }
2103
+ ];
2089
2104
  "errors": [
2090
2105
  {
2091
2106
  "code": 6000;
2092
- "name": "missingTypeTag";
2093
- "msg": "Missing type tag for literal";
2107
+ "name": "unauthorized";
2108
+ "msg": "Unauthorized: Only the owner can perform this action.";
2094
2109
  },
2095
2110
  {
2096
2111
  "code": 6001;
2097
- "name": "notEnoughBytes";
2098
- "msg": "Not enough bytes";
2112
+ "name": "unauthorizedUpdate";
2113
+ "msg": "Unauthorized: Failed policy check to update this document.";
2099
2114
  },
2100
2115
  {
2101
2116
  "code": 6002;
2102
- "name": "invalidFieldId";
2103
- "msg": "Invalid field ID";
2117
+ "name": "unauthorizedDelete";
2118
+ "msg": "Unauthorized: Failed policy check to delete this document.";
2104
2119
  },
2105
2120
  {
2106
2121
  "code": 6003;
2107
- "name": "stackUnderflow";
2108
- "msg": "Stack underflow";
2122
+ "name": "unauthorizedCreate";
2123
+ "msg": "Unauthorized: Failed policy check to create document at this path.";
2109
2124
  },
2110
2125
  {
2111
2126
  "code": 6004;
2112
- "name": "typeMismatch";
2113
- "msg": "Type mismatch in operation";
2127
+ "name": "createHookFailed";
2128
+ "msg": "Create hook failed: Document creation was rejected by hook.";
2114
2129
  },
2115
2130
  {
2116
2131
  "code": 6005;
2117
- "name": "invalidArgument";
2118
- "msg": "Invalid argument";
2132
+ "name": "updateHookFailed";
2133
+ "msg": "Update hook failed: Document update was rejected by hook.";
2119
2134
  },
2120
2135
  {
2121
2136
  "code": 6006;
2122
- "name": "invalidConversion";
2123
- "msg": "Invalid conversion";
2137
+ "name": "deleteHookFailed";
2138
+ "msg": "Delete hook failed: Document deletion was rejected by hook.";
2124
2139
  },
2125
2140
  {
2126
2141
  "code": 6007;
2127
- "name": "unknownLiteralType";
2128
- "msg": "Unknown literal type";
2142
+ "name": "executionDataUpdating";
2143
+ "msg": "GenericPathExecutionData is currently being updated.";
2129
2144
  },
2130
2145
  {
2131
2146
  "code": 6008;
2132
- "name": "invalidOpcode";
2133
- "msg": "Invalid opcode";
2147
+ "name": "missingAttestationSigner";
2148
+ "msg": "Missing attestation server co-signer for CPI transaction.";
2134
2149
  },
2135
2150
  {
2136
2151
  "code": 6009;
2137
- "name": "invalidTimeTag";
2138
- "msg": "Invalid time tag";
2152
+ "name": "appIsNotInitialized";
2153
+ "msg": "App is not initialized";
2139
2154
  },
2140
2155
  {
2141
2156
  "code": 6010;
2142
- "name": "functionNotImplemented";
2143
- "msg": "Function not implemented";
2157
+ "name": "appIdTooLong";
2158
+ "msg": "app_id exceeds the maximum allowed length.";
2144
2159
  },
2145
2160
  {
2146
2161
  "code": 6011;
2147
- "name": "invalidFunctionType";
2148
- "msg": "Invalid function type";
2162
+ "name": "invalidAuthorityPermit";
2163
+ "msg": "Invalid authority permit.";
2149
2164
  },
2150
2165
  {
2151
2166
  "code": 6012;
2152
- "name": "invalidFieldType";
2153
- "msg": "Invalid field type";
2167
+ "name": "numericalOverflow";
2168
+ "msg": "numericalOverflow";
2154
2169
  },
2155
2170
  {
2156
2171
  "code": 6013;
2157
- "name": "missingSystemProgram";
2158
- "msg": "Missing or invalid system program in accounts";
2172
+ "name": "missingSponsorAccount";
2173
+ "msg": "Sponsor wallet account missing from remaining_accounts for sponsor-funded document refund.";
2159
2174
  },
2160
2175
  {
2161
2176
  "code": 6014;
2162
- "name": "missingTokenProgram";
2163
- "msg": "Missing or invalid token program in accounts";
2177
+ "name": "invalidGovernanceMode";
2178
+ "msg": "The requested app upgrade governance mode is invalid.";
2164
2179
  },
2165
2180
  {
2166
2181
  "code": 6015;
2167
- "name": "missingSourceWallet";
2168
- "msg": "Missing or invalid source wallet account in accounts (for signing)";
2182
+ "name": "invalidGovernanceAccount";
2183
+ "msg": "The app upgrade governance account or scope is invalid.";
2169
2184
  },
2170
2185
  {
2171
2186
  "code": 6016;
2172
- "name": "missingDestWallet";
2173
- "msg": "Missing or invalid destination wallet account in accounts (for signing)";
2187
+ "name": "appUpgradesImmutable";
2188
+ "msg": "The app has permanently disabled upgrades.";
2174
2189
  },
2175
2190
  {
2176
2191
  "code": 6017;
2177
- "name": "missingSourceAta";
2178
- "msg": "Missing or invalid derived source ATA in accounts";
2192
+ "name": "governanceControllerMissing";
2193
+ "msg": "The governance controller policy is missing or does not match its declared scope.";
2179
2194
  },
2180
2195
  {
2181
2196
  "code": 6018;
2182
- "name": "missingDestAta";
2183
- "msg": "Missing or invalid derived destination ATA in accounts";
2197
+ "name": "governanceControllerUnsafe";
2198
+ "msg": "The governance controller policy is updating, empty, or contains write effects.";
2184
2199
  },
2185
2200
  {
2186
2201
  "code": 6019;
2187
- "name": "noMatchingTokenAccount";
2188
- "msg": "Could not find a matching token account for the given address/mint.";
2202
+ "name": "governancePolicyRejected";
2203
+ "msg": "The governance controller policy rejected this manifest.";
2189
2204
  },
2190
2205
  {
2191
2206
  "code": 6020;
2192
- "name": "missingSysvarRent";
2193
- "msg": "Missing sysvar rent account in accounts";
2207
+ "name": "invalidGovernedSession";
2208
+ "msg": "The governed update session nonce, limits, or lifetime is invalid.";
2194
2209
  },
2195
2210
  {
2196
2211
  "code": 6021;
2197
- "name": "missingSysvarInstructions";
2198
- "msg": "Missing sysvar instructions account in accounts";
2212
+ "name": "invalidGovernedManifestProof";
2213
+ "msg": "The governed manifest proof is invalid.";
2199
2214
  },
2200
2215
  {
2201
2216
  "code": 6022;
2202
- "name": "missingProgram";
2203
- "msg": "Missing program";
2217
+ "name": "invalidGovernedPathStage";
2218
+ "msg": "The governed path stage is invalid for this session or operation.";
2204
2219
  },
2205
2220
  {
2206
2221
  "code": 6023;
2207
- "name": "missingAccount";
2208
- "msg": "Missing account in remaining_accounts";
2222
+ "name": "governedPathStateMismatch";
2223
+ "msg": "The governed path final state does not match the approved manifest.";
2209
2224
  },
2210
2225
  {
2211
2226
  "code": 6024;
2212
- "name": "invalidAccountAddress";
2213
- "msg": "Invalid account address";
2227
+ "name": "governedUpdateIncomplete";
2228
+ "msg": "The governed update is incomplete or is not ready for this transition.";
2214
2229
  },
2215
2230
  {
2216
2231
  "code": 6025;
2217
- "name": "randomnessRequestPending";
2218
- "msg": "Randomness request is still pending";
2219
- },
2220
- {
2221
- "code": 6026;
2222
- "name": "invalidPriceAccount";
2223
- "msg": "Invalid price account";
2224
- },
2225
- {
2226
- "code": 6027;
2227
- "name": "stalePrice";
2228
- "msg": "stale price";
2229
- },
2230
- {
2231
- "code": 6028;
2232
- "name": "numericalOverflow";
2233
- "msg": "Numerical overflow";
2234
- },
2235
- {
2236
- "code": 6029;
2237
- "name": "missingConfigField";
2238
- "msg": "Missing required config field";
2239
- },
2240
- {
2241
- "code": 6030;
2242
- "name": "bytesTooLarge";
2243
- "msg": "Bytes value exceeds the maximum allowed size";
2244
- },
2245
- {
2246
- "code": 6031;
2247
- "name": "invalidHexString";
2248
- "msg": "Invalid hex string";
2249
- },
2250
- {
2251
- "code": 6032;
2252
- "name": "deniedProgram";
2253
- "msg": "Program id is denied as a CPI/owner target";
2254
- },
2255
- {
2256
- "code": 6033;
2257
- "name": "crossAppWriteNotAllowed";
2258
- "msg": "Cross-app write is not allowed here";
2259
- },
2260
- {
2261
- "code": 6034;
2262
- "name": "crossAppRuleFailed";
2263
- "msg": "Cross-app rule evaluation failed";
2264
- },
2265
- {
2266
- "code": 6035;
2267
- "name": "accountAlreadyExists";
2268
- "msg": "Account already exists";
2269
- },
2270
- {
2271
- "code": 6036;
2272
- "name": "unauthorizedCpiInstruction";
2273
- "msg": "CPI instruction data is not authorized for this protocol";
2274
- },
2275
- {
2276
- "code": 6037;
2277
- "name": "invalidAccountDiscriminator";
2278
- "msg": "Account owner, length, or discriminator is invalid";
2232
+ "name": "governedRecoveryRequiresResume";
2233
+ "msg": "A staged governed update must be resumed; it cannot be safely cancelled in place.";
2279
2234
  }
2280
2235
  ];
2281
2236
  "types": [
@@ -2843,6 +2798,35 @@ export type Tarobase = {
2843
2798
  ];
2844
2799
  };
2845
2800
  },
2801
+ {
2802
+ "name": "revealRequestWitness";
2803
+ "docs": [
2804
+ "The authenticated on-chain witness for a randomness request. It records the",
2805
+ "exact (app_id, random_id, reveal_path) tuple that the `RR:`/`RID:` logs",
2806
+ "carry, but as an event-CPI inner instruction rather than a log: inner",
2807
+ "instruction data is not subject to the log collector, so it survives log",
2808
+ "truncation. The server-driven reveal driver reads it from",
2809
+ "`meta.innerInstructions` to bind a random_id to its declared reveal path",
2810
+ "even when the logs were truncated away."
2811
+ ];
2812
+ "type": {
2813
+ "kind": "struct";
2814
+ "fields": [
2815
+ {
2816
+ "name": "appId";
2817
+ "type": "string";
2818
+ },
2819
+ {
2820
+ "name": "randomId";
2821
+ "type": "string";
2822
+ },
2823
+ {
2824
+ "name": "revealPath";
2825
+ "type": "string";
2826
+ }
2827
+ ];
2828
+ };
2829
+ },
2846
2830
  {
2847
2831
  "name": "setDocumentData";
2848
2832
  "type": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bounded-sh/core",
3
- "version": "0.0.55",
3
+ "version": "0.0.56",
4
4
  "description": "Shared client, data-plane, and transport primitives for Bounded, the full-stack app builder and runtime for AI-built apps: policy-enforced operations, files, functions, and realtime.",
5
5
  "homepage": "https://bounded.sh/docs/sdk",
6
6
  "main": "./dist/index.js",