@oatscenter/trellis 0.100.0-rc.40 → 0.100.0-rc.41

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 (59) hide show
  1. package/client_connect.d.ts +3 -0
  2. package/client_connect.js +12 -0
  3. package/data_plane/budget.js +1 -1
  4. package/device.d.ts +4 -0
  5. package/device.js +25 -0
  6. package/generated_support.d.ts +21 -0
  7. package/generated_support.js +9 -0
  8. package/index.d.ts +1 -0
  9. package/internal_sdk/generated/apis/auth/mod.d.ts +117 -1
  10. package/internal_sdk/generated/apis/auth/mod.js +138 -5
  11. package/internal_sdk/generated/apis/core/mod.js +4 -4
  12. package/internal_sdk/generated/apis/events/mod.js +4 -4
  13. package/internal_sdk/generated/apis/health/mod.js +4 -4
  14. package/internal_sdk/generated/apis/jobs/mod.js +4 -4
  15. package/internal_sdk/generated/apis/state/mod.js +4 -4
  16. package/internal_sdk/generated/apps/cli/mod.d.ts +38 -2
  17. package/internal_sdk/generated/apps/cli/mod.js +58 -1
  18. package/internal_sdk/generated/apps/console/mod.d.ts +38 -2
  19. package/internal_sdk/generated/apps/console/mod.js +58 -1
  20. package/internal_sdk/generated/package.json +2 -2
  21. package/internal_sdk/generated/participants/eventsRuntime/mod.d.ts +14 -0
  22. package/internal_sdk/generated/participants/eventsRuntime/mod.js +15 -4
  23. package/internal_sdk/generated/participants/healthRuntime/mod.d.ts +4 -0
  24. package/internal_sdk/generated/participants/healthRuntime/mod.js +5 -4
  25. package/internal_sdk/generated/participants/jobsRuntime/mod.d.ts +14 -0
  26. package/internal_sdk/generated/participants/jobsRuntime/mod.js +15 -4
  27. package/internal_sdk/generated/participants/platform/mod.d.ts +15 -1
  28. package/internal_sdk/generated/participants/platform/mod.js +17 -6
  29. package/internal_sdk/generated/types/_internal/p0.d.ts +225 -4
  30. package/internal_sdk/generated/types/_internal/p0.js +120 -5
  31. package/internal_sdk/generated/types/index.d.ts +42 -0
  32. package/internal_sdk/generated/types/index.js +21 -0
  33. package/kv.js +4 -4
  34. package/native/connection.d.ts +3 -0
  35. package/native/connection.js +12 -0
  36. package/own_authority.js +2 -2
  37. package/package.json +2 -2
  38. package/pagination.d.ts +1 -1
  39. package/pagination.js +1 -1
  40. package/participant_runtime/participant.d.ts +3 -1
  41. package/provider.d.ts +8 -1
  42. package/provider.js +7 -0
  43. package/service/config.d.ts +129 -0
  44. package/service/config.js +247 -0
  45. package/service/mod.d.ts +1 -0
  46. package/service/outbox_inbox.d.ts +2 -2
  47. package/service/outbox_inbox.js +2 -2
  48. package/service/runtime/service.d.ts +6 -0
  49. package/service/runtime/service.js +44 -0
  50. package/service/runtime/transfer/queue.js +5 -5
  51. package/service/runtime/transfer.js +1 -1
  52. package/session/state.d.ts +1 -1
  53. package/session/state.js +1 -1
  54. package/session.d.ts +12 -1
  55. package/session.js +35 -0
  56. package/transfer/session.d.ts +4 -4
  57. package/transfer/session.js +6 -6
  58. package/transfer.d.ts +3 -3
  59. package/transfer.js +3 -3
@@ -1,6 +1,7 @@
1
1
  import { AsyncResult, UnexpectedError } from "@oatscenter/result";
2
2
  import type { RuntimeTransport } from "./runtime_transport.ts";
3
3
  import type { AppRequestDescriptor } from "./generated_support.ts";
4
+ import { type AppConfigOf, type ParticipantConfig } from "./service/config.ts";
4
5
  import type { OwnAuthorityView } from "./own_authority.ts";
5
6
  import { type CallerRuntime } from "./caller.ts";
6
7
  import type { ClientOpts } from "./client.ts";
@@ -68,6 +69,8 @@ export type ClientLogoutOptions = {
68
69
  /** Connected ordinary OAuth app. Durable credentials remain in the app's IndexedDB realm. */
69
70
  export type ConnectedTrellisClient<T extends AppRequestDescriptor> = CallerRuntime<T> & {
70
71
  readonly ownAuthority: OwnAuthorityView;
72
+ /** Settings an administrator keeps for this app, typed from its `config` fields. */
73
+ readonly config: ParticipantConfig<AppConfigOf<T>>;
71
74
  /**
72
75
  * Revoke this application's OAuth family and close its connection. The
73
76
  * Portal login stays unless `endPortalLogin` is set, in which case the
package/client_connect.js CHANGED
@@ -5,6 +5,8 @@ import { initializeProtocolWasm, verifyOAuthAdmissionWasm, } from "./auth/protoc
5
5
  import { utf8 } from "./auth/utils.js";
6
6
  import { observeTrellisConnection, transitionConnectionAvailability, } from "./connection.js";
7
7
  import { getCallerRuntime } from "./participant_runtime/participant.js";
8
+ import { connectAppConfig, } from "./service/config.js";
9
+ import { logger as noopLogger } from "./globals.js";
8
10
  import { createCallerRuntime, } from "./caller.js";
9
11
  import { Trellis, } from "./session.js";
10
12
  import { AuthError } from "./errors/AuthError.js";
@@ -243,6 +245,15 @@ export function connectClientWithDeps(args, deps) {
243
245
  if (!ownAuthority)
244
246
  throw new AuthError({ reason: "Unavailable" });
245
247
  await ownAuthority.refresh();
248
+ const config = await connectAppConfig({
249
+ fields: args.request.config,
250
+ clientId: args.auth.clientId,
251
+ read: () => trellis.requestAppConfig(),
252
+ transport: activeConnection.manager,
253
+ closed: activeConnection.manager.closed(),
254
+ log: args.log ?? noopLogger,
255
+ timeoutMs: args.timeout ?? 30_000,
256
+ });
246
257
  if (!ownAuthority.current)
247
258
  throw new AuthError({ reason: "Unavailable" });
248
259
  const request = {
@@ -321,6 +332,7 @@ export function connectClientWithDeps(args, deps) {
321
332
  };
322
333
  return Result.ok(Object.assign(createCallerRuntime(trellis, args.request, {}, requestApproval, () => [...grantAsked, ...askedOptional(oauth)]), {
323
334
  ownAuthority,
335
+ config,
324
336
  async logout(options) {
325
337
  const revoked = await oauth.revoke();
326
338
  if (revoked.isErr())
@@ -5,8 +5,8 @@ import { transferConstants, transferReceiveWindow, } from "../auth/protocol_wasm
5
5
  * it when the transfer ends; admission never overcommits. @internal
6
6
  */
7
7
  export class ReceiveBudget {
8
- total;
9
8
  #reserved = 0;
9
+ total;
10
10
  constructor(total) {
11
11
  this.total = total;
12
12
  }
package/device.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import "./auth/protocol_wasm_provider.ts";
2
2
  import type { NatsConnection } from "@nats-io/nats-core";
3
3
  export { checkDeviceActivation } from "./device/activation.ts";
4
+ export type { ConfigChange, ParticipantConfig, ParticipantConfigOf, } from "./service/config.ts";
4
5
  export type { CheckDeviceActivationArgs, TrellisDeviceActivatedStatus, TrellisDeviceActivationRequiredStatus, TrellisDeviceActivationStatus, TrellisDeviceNotReadyStatus, } from "./device/activation.ts";
5
6
  import { AsyncResult, UnexpectedError } from "@oatscenter/result";
6
7
  import { type ProvisionedConnectionOptions } from "./auth/connection.ts";
@@ -12,9 +13,12 @@ import { TransportError } from "./errors/index.ts";
12
13
  import { type CallerRuntime } from "./caller.ts";
13
14
  import { type GeneratedParticipant } from "./participant_runtime/participant.ts";
14
15
  import type { AppRequestDescriptor } from "./generated_support.ts";
16
+ import { type ParticipantConfig, type ParticipantConfigOf } from "./service/config.ts";
15
17
  type DeviceContract = GeneratedParticipant;
16
18
  export type TrellisDeviceConnection<TContract extends DeviceContract = DeviceContract> = CallerRuntime<TContract> & {
17
19
  readonly health: ServiceHealth;
20
+ /** Settings Trellis keeps for this device, typed from its `config` fields. */
21
+ readonly config: ParticipantConfig<ParticipantConfigOf<TContract>>;
18
22
  } & (TContract extends {
19
23
  companion: {
20
24
  request: infer TChild extends AppRequestDescriptor;
package/device.js CHANGED
@@ -21,6 +21,8 @@ import { Value } from "typebox/value";
21
21
  import { observeTrellisConnection, transitionConnectionAvailability, } from "./connection.js";
22
22
  import { createCallerRuntime } from "./caller.js";
23
23
  import { getParticipantRuntime, participantEvidence, } from "./participant_runtime/participant.js";
24
+ import { loadConfig, NO_CONFIG, ownReading, } from "./service/config.js";
25
+ import { API as AUTH_API } from "./internal_sdk/generated/apis/auth/mod.js";
24
26
  function deviceConnectResult(promise) {
25
27
  return AsyncResult.from(promise.then((value) => Result.ok(value), (cause) => Result.err(cause instanceof TransportError
26
28
  ? cause
@@ -362,6 +364,28 @@ export async function connectDeviceWithDeps(args, deps) {
362
364
  timeout: args.timeout,
363
365
  state: runtime.state,
364
366
  }, connected.inboxPrefix);
367
+ const configFields = args.participant.config ?? {};
368
+ let config;
369
+ if (Object.keys(configFields).length > 0) {
370
+ const read = (atConnect) => trellis.requestOwnConfig(atConnect);
371
+ config = await loadConfig({
372
+ participantId: args.participant.identity,
373
+ fields: configFields,
374
+ read,
375
+ log: resolveDeviceLogger(args.log),
376
+ });
377
+ config.watch({
378
+ transport: manager,
379
+ subject: AUTH_API.actions["event:Config.Changed"].subject,
380
+ matches: (event) => event.deploymentId === binding.deploymentId &&
381
+ (event.instanceId === undefined ||
382
+ event.instanceId === binding.instanceId),
383
+ read: async (atConnect) => ownReading(await read(atConnect)),
384
+ timeoutMs: args.timeout ?? 30_000,
385
+ });
386
+ const watching = config;
387
+ void manager.closed().finally(() => watching.stop());
388
+ }
365
389
  const health = new ServiceHealthRuntime({
366
390
  serviceName: args.participant.identity,
367
391
  kind: "device",
@@ -405,6 +429,7 @@ export async function connectDeviceWithDeps(args, deps) {
405
429
  return Object.assign(createCallerRuntime(trellis, args.participant), {
406
430
  health,
407
431
  companion,
432
+ config: config ?? NO_CONFIG,
408
433
  });
409
434
  }
410
435
  catch (error) {
@@ -144,6 +144,13 @@ export type AppRequestDescriptor = Readonly<{
144
144
  uses: readonly ApiSelection[];
145
145
  /** Compiler-owned flat client names for selected API actions. */
146
146
  actionNames: Readonly<Record<string, string>>;
147
+ /** Settings an administrator keeps for the app, keyed by field name. */
148
+ config?: Readonly<Record<string, ConfigFieldDescriptor>>;
149
+ /**
150
+ * Package evidence of the build, present when the app declares settings so
151
+ * an administrator can attach its declaration to the app's client.
152
+ */
153
+ packageEvidence?: unknown;
147
154
  /** Local State encoding metadata, not provisioned resource declarations. */
148
155
  states: Readonly<Record<string, Readonly<{
149
156
  codec: Codec<unknown>;
@@ -161,6 +168,18 @@ export type AppRequestDescriptor = Readonly<{
161
168
  }>;
162
169
  }>>>;
163
170
  }>;
171
+ /** One generated configuration field: how to decode it and how it applies. */
172
+ export type ConfigFieldDescriptor = Readonly<{
173
+ codec: Readonly<{
174
+ decode(value: unknown): unknown;
175
+ }>;
176
+ /** No default: Trellis holds the participant until a value is set. */
177
+ required: boolean;
178
+ /** Write-only for administrators; only the participant reads it. */
179
+ secret: boolean;
180
+ /** Read only at connect; a change waits for the next connection. */
181
+ restart: boolean;
182
+ }>;
164
183
  type ParticipantDescriptorInput = Readonly<{
165
184
  kind: "service" | "device";
166
185
  id: string;
@@ -172,6 +191,8 @@ type ParticipantDescriptorInput = Readonly<{
172
191
  optionalCapabilities: readonly string[];
173
192
  actionNames: Readonly<Record<string, string>>;
174
193
  resources: Readonly<Record<string, Readonly<Record<string, unknown>>>>;
194
+ /** Settings the participant reads from Trellis, keyed by field name. */
195
+ config?: Readonly<Record<string, ConfigFieldDescriptor>>;
175
196
  companion?: Readonly<{
176
197
  request: AppRequestDescriptor;
177
198
  availability: "required" | "optional";
@@ -459,6 +459,15 @@ export function participantDescriptor(descriptor) {
459
459
  validateResource(resource);
460
460
  Object.freeze(resource);
461
461
  }
462
+ for (const field of Object.values(descriptor.config ?? {})) {
463
+ if (!isRecord(field) ||
464
+ !isCodec(field.codec) ||
465
+ typeof field.required !== "boolean" ||
466
+ typeof field.secret !== "boolean" ||
467
+ typeof field.restart !== "boolean")
468
+ fail("generated config field");
469
+ Object.freeze(field);
470
+ }
462
471
  if (descriptor.companion) {
463
472
  if (descriptor.kind !== "device" ||
464
473
  !isRecord(descriptor.companion.request) ||
package/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  /** Portable Trellis application API. */
2
2
  export * from "./portable.ts";
3
+ export type { AppConfigOf, ConfigChange, ConfigRevision, ParticipantConfig, } from "./service/config.ts";
@@ -67,6 +67,22 @@ export type CapabilityGrantsListInput = Types0.AuthCapabilityGrantsListRequest;
67
67
  export type CapabilityGrantsListOutput = Types0.AuthCapabilityGrantsListResponse;
68
68
  export type CapabilityGrantsRevokeInput = Types0.AuthCapabilityRevokeRequest;
69
69
  export type CapabilityGrantsRevokeOutput = Types0.AuthMutationResult;
70
+ export type ConfigAppGetInput = Types0.AuthEmpty;
71
+ export type ConfigAppGetOutput = Types0.AuthAppConfigResponse;
72
+ export type ConfigAppsDeclareInput = Types0.AuthConfigAppDeclareRequest;
73
+ export type ConfigAppsDeclareOutput = Types0.AuthConfigResponse;
74
+ export type ConfigGetInput = Types0.AuthConfigGetRequest;
75
+ export type ConfigGetOutput = Types0.AuthConfigResponse;
76
+ export type ConfigOwnGetInput = Types0.AuthOwnConfigRequest;
77
+ export type ConfigOwnGetOutput = Types0.AuthOwnConfigResponse;
78
+ export type ConfigRevisionsDeleteInput = Types0.AuthConfigRevisionDeleteRequest;
79
+ export type ConfigRevisionsDeleteOutput = Types0.AuthConfigResponse;
80
+ export type ConfigRevisionsListInput = Types0.AuthConfigRevisionsListRequest;
81
+ export type ConfigRevisionsListOutput = Types0.AuthConfigRevisionsListResponse;
82
+ export type ConfigRollbackInput = Types0.AuthConfigRollbackRequest;
83
+ export type ConfigRollbackOutput = Types0.AuthConfigResponse;
84
+ export type ConfigSetInput = Types0.AuthConfigSetRequest;
85
+ export type ConfigSetOutput = Types0.AuthConfigResponse;
70
86
  export type ConnectionsKickInput = Types0.AuthConnectionsKickRequest;
71
87
  export type ConnectionsKickOutput = Types0.AuthConnectionsKickResponse;
72
88
  export type ConnectionsListInput = Types0.AuthConnectionsListRequest;
@@ -229,6 +245,8 @@ export type UsersGetInput = Types0.AuthUserGetRequest;
229
245
  export type UsersGetOutput = Types0.AuthUserGetResponse;
230
246
  export type UsersIdentityLinkCreateInput = Types0.AuthIdentityLinkCreateRequest;
231
247
  export type UsersIdentityLinkCreateOutput = Types0.AuthIdentityLinkCreateResponse;
248
+ export type UsersIdentityLinkProvidersInput = Types0.AuthEmpty;
249
+ export type UsersIdentityLinkProvidersOutput = Types0.AuthIdentityLinkProvidersResponse;
232
250
  export type UsersListInput = Types0.AuthPageRequest;
233
251
  export type UsersListOutput = Types0.AuthUsersListResponse;
234
252
  export type UsersPasswordChangeInput = Types0.AuthPasswordChangeRequest;
@@ -242,6 +260,7 @@ export type UsersResolveOutput = Types0.AuthUserGetResponse;
242
260
  export type UsersUpdateInput = Types0.AuthUserUpdateRequest;
243
261
  export type UsersUpdateOutput = Types0.AuthUserGetResponse;
244
262
  export type AuthorizationSessionsRetiredEvent = Types0.AuthSecurityEvent;
263
+ export type ConfigChangedEvent = Types0.AuthConfigChanged;
245
264
  export type ConnectionsClosedEvent = Types0.AuthSecurityEvent;
246
265
  export type ConnectionsKickedEvent = Types0.AuthSecurityEvent;
247
266
  export type ConnectionsOpenedEvent = Types0.AuthSecurityEvent;
@@ -380,6 +399,86 @@ declare const __api: {
380
399
  readonly download: false;
381
400
  readonly pagination: undefined;
382
401
  };
402
+ readonly "rpc:Config.App.Get": {
403
+ readonly kind: "rpc";
404
+ readonly descriptorName: "rpc:Config.App.Get";
405
+ readonly subject: "rpc.v1.auth.Config.App.Get";
406
+ readonly input: typeof Types0.AuthEmptyCodec;
407
+ readonly output: typeof Types0.AuthAppConfigResponseCodec;
408
+ readonly errors: readonly [typeof AuthError, typeof UnexpectedError, typeof ValidationError];
409
+ readonly download: false;
410
+ readonly pagination: undefined;
411
+ };
412
+ readonly "rpc:Config.Apps.Declare": {
413
+ readonly kind: "rpc";
414
+ readonly descriptorName: "rpc:Config.Apps.Declare";
415
+ readonly subject: "rpc.v1.auth.Config.Apps.Declare";
416
+ readonly input: typeof Types0.AuthConfigAppDeclareRequestCodec;
417
+ readonly output: typeof Types0.AuthConfigResponseCodec;
418
+ readonly errors: readonly [typeof AuthError, typeof UnexpectedError, typeof ValidationError];
419
+ readonly download: false;
420
+ readonly pagination: undefined;
421
+ };
422
+ readonly "rpc:Config.Get": {
423
+ readonly kind: "rpc";
424
+ readonly descriptorName: "rpc:Config.Get";
425
+ readonly subject: "rpc.v1.auth.Config.Get";
426
+ readonly input: typeof Types0.AuthConfigGetRequestCodec;
427
+ readonly output: typeof Types0.AuthConfigResponseCodec;
428
+ readonly errors: readonly [typeof AuthError, typeof UnexpectedError, typeof ValidationError];
429
+ readonly download: false;
430
+ readonly pagination: undefined;
431
+ };
432
+ readonly "rpc:Config.Own.Get": {
433
+ readonly kind: "rpc";
434
+ readonly descriptorName: "rpc:Config.Own.Get";
435
+ readonly subject: "rpc.v1.auth.Config.Own.Get";
436
+ readonly input: typeof Types0.AuthOwnConfigRequestCodec;
437
+ readonly output: typeof Types0.AuthOwnConfigResponseCodec;
438
+ readonly errors: readonly [typeof AuthError, typeof UnexpectedError, typeof ValidationError];
439
+ readonly download: false;
440
+ readonly pagination: undefined;
441
+ };
442
+ readonly "rpc:Config.Revisions.Delete": {
443
+ readonly kind: "rpc";
444
+ readonly descriptorName: "rpc:Config.Revisions.Delete";
445
+ readonly subject: "rpc.v1.auth.Config.Revisions.Delete";
446
+ readonly input: typeof Types0.AuthConfigRevisionDeleteRequestCodec;
447
+ readonly output: typeof Types0.AuthConfigResponseCodec;
448
+ readonly errors: readonly [typeof AuthError, typeof UnexpectedError, typeof ValidationError];
449
+ readonly download: false;
450
+ readonly pagination: undefined;
451
+ };
452
+ readonly "rpc:Config.Revisions.List": {
453
+ readonly kind: "rpc";
454
+ readonly descriptorName: "rpc:Config.Revisions.List";
455
+ readonly subject: "rpc.v1.auth.Config.Revisions.List";
456
+ readonly input: typeof Types0.AuthConfigRevisionsListRequestCodec;
457
+ readonly output: typeof Types0.AuthConfigRevisionsListResponseCodec;
458
+ readonly errors: readonly [typeof AuthError, typeof UnexpectedError, typeof ValidationError];
459
+ readonly download: false;
460
+ readonly pagination: "cursor";
461
+ };
462
+ readonly "rpc:Config.Rollback": {
463
+ readonly kind: "rpc";
464
+ readonly descriptorName: "rpc:Config.Rollback";
465
+ readonly subject: "rpc.v1.auth.Config.Rollback";
466
+ readonly input: typeof Types0.AuthConfigRollbackRequestCodec;
467
+ readonly output: typeof Types0.AuthConfigResponseCodec;
468
+ readonly errors: readonly [typeof AuthError, typeof UnexpectedError, typeof ValidationError];
469
+ readonly download: false;
470
+ readonly pagination: undefined;
471
+ };
472
+ readonly "rpc:Config.Set": {
473
+ readonly kind: "rpc";
474
+ readonly descriptorName: "rpc:Config.Set";
475
+ readonly subject: "rpc.v1.auth.Config.Set";
476
+ readonly input: typeof Types0.AuthConfigSetRequestCodec;
477
+ readonly output: typeof Types0.AuthConfigResponseCodec;
478
+ readonly errors: readonly [typeof AuthError, typeof UnexpectedError, typeof ValidationError];
479
+ readonly download: false;
480
+ readonly pagination: undefined;
481
+ };
383
482
  readonly "rpc:Connections.Kick": {
384
483
  readonly kind: "rpc";
385
484
  readonly descriptorName: "rpc:Connections.Kick";
@@ -1190,6 +1289,16 @@ declare const __api: {
1190
1289
  readonly download: false;
1191
1290
  readonly pagination: undefined;
1192
1291
  };
1292
+ readonly "rpc:Users.IdentityLink.Providers": {
1293
+ readonly kind: "rpc";
1294
+ readonly descriptorName: "rpc:Users.IdentityLink.Providers";
1295
+ readonly subject: "rpc.v1.auth.Users.IdentityLink.Providers";
1296
+ readonly input: typeof Types0.AuthEmptyCodec;
1297
+ readonly output: typeof Types0.AuthIdentityLinkProvidersResponseCodec;
1298
+ readonly errors: readonly [typeof AuthError, typeof UnexpectedError, typeof ValidationError];
1299
+ readonly download: false;
1300
+ readonly pagination: undefined;
1301
+ };
1193
1302
  readonly "rpc:Users.List": {
1194
1303
  readonly kind: "rpc";
1195
1304
  readonly descriptorName: "rpc:Users.List";
@@ -1257,6 +1366,13 @@ declare const __api: {
1257
1366
  readonly payload: typeof Types0.AuthSecurityEventCodec;
1258
1367
  readonly parameters: readonly [];
1259
1368
  };
1369
+ readonly "event:Config.Changed": {
1370
+ readonly kind: "event";
1371
+ readonly descriptorName: "event:Config.Changed";
1372
+ readonly subject: "events.v1.dHJlbGxpcy5hdXRoQHYx.Config.Changed";
1373
+ readonly payload: typeof Types0.AuthConfigChangedCodec;
1374
+ readonly parameters: readonly [];
1375
+ };
1260
1376
  readonly "event:Connections.Closed": {
1261
1377
  readonly kind: "event";
1262
1378
  readonly descriptorName: "event:Connections.Closed";
@@ -1296,5 +1412,5 @@ declare const __api: {
1296
1412
  readonly packageEvidence: unknown;
1297
1413
  };
1298
1414
  export declare const API: typeof __api;
1299
- export declare const API_DIGEST: "OaeRlYQE6oQeGu8eaRiCz12jLLtNIheWt2dUW2ArdAk";
1415
+ export declare const API_DIGEST: "NtTPgVs2UW1rbMDQ7yX0J_AZCoxTinzOgN0gLbJdKgM";
1300
1416
  export {};