@orangecheck/me-client 0.40.0 → 0.41.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.
- package/README.md +3 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/{integrator-C-enR55c.d.mts → integrator-BM0Vy-ac.d.mts} +23 -1
- package/dist/{integrator-C-enR55c.d.ts → integrator-BM0Vy-ac.d.ts} +23 -1
- package/dist/integrator.d.mts +1 -1
- package/dist/integrator.d.ts +1 -1
- package/dist/integrator.js.map +1 -1
- package/dist/integrator.mjs.map +1 -1
- package/dist/server.d.mts +26 -1
- package/dist/server.d.ts +26 -1
- package/dist/server.js +121 -7
- package/dist/server.js.map +1 -1
- package/dist/server.mjs +120 -9
- package/dist/server.mjs.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -27,6 +27,9 @@ import { signInWithOc } from '@orangecheck/me-client/popup';
|
|
|
27
27
|
// Keep your own login: make an orangecheck account for your user (OC Connect).
|
|
28
28
|
import { connectProvision } from '@orangecheck/me-client/server';
|
|
29
29
|
import { CONNECT_CONSENT_LABEL } from '@orangecheck/me-client/connect-consent';
|
|
30
|
+
|
|
31
|
+
// After a sign-in: the token starts one session, then ends at ochk.io.
|
|
32
|
+
import { spendOnce, revokeToken } from '@orangecheck/me-client/server';
|
|
30
33
|
```
|
|
31
34
|
|
|
32
35
|
## Install
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { v as verifyActivityAttestation, r as refreshEnvelopeJwks } from './identity-DfxCvxuH.mjs';
|
|
2
2
|
export { A as ActivityAttestation, a as ActivityAttestationBundle, b as ActivityVerifyCheck, c as ActivityVerifyResult, V as VerifyActivityOptions, i as identity } from './identity-DfxCvxuH.mjs';
|
|
3
|
-
import { B as BillableEvent, E as EventKey, I as IntegratorPriceConfig, T as TelemetryEvent, S as SignInOptions, a as Session, P as PaymentAuthorizeOptions, b as PaymentResult, V as ValidationResult, f as fromTemplate, g as getArchetypeTemplate, A as ArchetypeTemplate, F as Federation } from './integrator-
|
|
4
|
-
export { c as ALL_EVENT_SUBTYPES, d as ARCHETYPE_TEMPLATES, e as AgentClassOverride, h as AttestTier, C as ClassASubtype, i as ClassBSubtype, j as ClassCSubtype, k as ComputedFees, D as DropCadence, l as DropClosedWebhookPayload, m as DropResponseBlock, n as DropScheduleSummary, o as EVENT_SUBTYPES, p as EventClass, q as EventSubtype, r as EventSubtypeMetadata, s as
|
|
3
|
+
import { B as BillableEvent, E as EventKey, I as IntegratorPriceConfig, T as TelemetryEvent, S as SignInOptions, a as Session, P as PaymentAuthorizeOptions, b as PaymentResult, V as ValidationResult, f as fromTemplate, g as getArchetypeTemplate, A as ArchetypeTemplate, F as Federation } from './integrator-BM0Vy-ac.mjs';
|
|
4
|
+
export { c as ALL_EVENT_SUBTYPES, d as ARCHETYPE_TEMPLATES, e as AgentClassOverride, h as AttestTier, C as ClassASubtype, i as ClassBSubtype, j as ClassCSubtype, k as ComputedFees, D as DropCadence, l as DropClosedWebhookPayload, m as DropResponseBlock, n as DropScheduleSummary, o as EVENT_SUBTYPES, p as EventClass, q as EventSubtype, r as EventSubtypeMetadata, s as FederationMigratingWebhookPayload, t as FederationMigrationCancelledWebhookPayload, u as FederationStatus, v as FederationSuccessor, w as IntegratorArchetype, x as IntegratorEventConfig, M as MAX_DROP_WINDOW_DAYS, y as MIN_INTEGRATOR_PRICE_SATS, z as PLATFORM_FEE_POLICY, G as SessionPolicy, H as SigningMethod, J as SiteFeeShape, K as SystemWebhookPayload, W as WebhookHeaders, L as WebhookPayload, N as computeFees, O as subtypesForClass, Q as validateIntegratorConfig } from './integrator-BM0Vy-ac.mjs';
|
|
5
5
|
export { CONNECT_CONSENT_BLURB, CONNECT_CONSENT_LABEL } from './connect-consent.mjs';
|
|
6
6
|
|
|
7
7
|
type Scope = 'bitcoin_address' | 'email' | 'attest_tier' | 'display_name' | 'cross_integrator_event_count' | 'cross_integrator_human_event_count' | 'trust_attestation_count';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { v as verifyActivityAttestation, r as refreshEnvelopeJwks } from './identity-DfxCvxuH.js';
|
|
2
2
|
export { A as ActivityAttestation, a as ActivityAttestationBundle, b as ActivityVerifyCheck, c as ActivityVerifyResult, V as VerifyActivityOptions, i as identity } from './identity-DfxCvxuH.js';
|
|
3
|
-
import { B as BillableEvent, E as EventKey, I as IntegratorPriceConfig, T as TelemetryEvent, S as SignInOptions, a as Session, P as PaymentAuthorizeOptions, b as PaymentResult, V as ValidationResult, f as fromTemplate, g as getArchetypeTemplate, A as ArchetypeTemplate, F as Federation } from './integrator-
|
|
4
|
-
export { c as ALL_EVENT_SUBTYPES, d as ARCHETYPE_TEMPLATES, e as AgentClassOverride, h as AttestTier, C as ClassASubtype, i as ClassBSubtype, j as ClassCSubtype, k as ComputedFees, D as DropCadence, l as DropClosedWebhookPayload, m as DropResponseBlock, n as DropScheduleSummary, o as EVENT_SUBTYPES, p as EventClass, q as EventSubtype, r as EventSubtypeMetadata, s as
|
|
3
|
+
import { B as BillableEvent, E as EventKey, I as IntegratorPriceConfig, T as TelemetryEvent, S as SignInOptions, a as Session, P as PaymentAuthorizeOptions, b as PaymentResult, V as ValidationResult, f as fromTemplate, g as getArchetypeTemplate, A as ArchetypeTemplate, F as Federation } from './integrator-BM0Vy-ac.js';
|
|
4
|
+
export { c as ALL_EVENT_SUBTYPES, d as ARCHETYPE_TEMPLATES, e as AgentClassOverride, h as AttestTier, C as ClassASubtype, i as ClassBSubtype, j as ClassCSubtype, k as ComputedFees, D as DropCadence, l as DropClosedWebhookPayload, m as DropResponseBlock, n as DropScheduleSummary, o as EVENT_SUBTYPES, p as EventClass, q as EventSubtype, r as EventSubtypeMetadata, s as FederationMigratingWebhookPayload, t as FederationMigrationCancelledWebhookPayload, u as FederationStatus, v as FederationSuccessor, w as IntegratorArchetype, x as IntegratorEventConfig, M as MAX_DROP_WINDOW_DAYS, y as MIN_INTEGRATOR_PRICE_SATS, z as PLATFORM_FEE_POLICY, G as SessionPolicy, H as SigningMethod, J as SiteFeeShape, K as SystemWebhookPayload, W as WebhookHeaders, L as WebhookPayload, N as computeFees, O as subtypesForClass, Q as validateIntegratorConfig } from './integrator-BM0Vy-ac.js';
|
|
5
5
|
export { CONNECT_CONSENT_BLURB, CONNECT_CONSENT_LABEL } from './connect-consent.js';
|
|
6
6
|
|
|
7
7
|
type Scope = 'bitcoin_address' | 'email' | 'attest_tier' | 'display_name' | 'cross_integrator_event_count' | 'cross_integrator_human_event_count' | 'trust_attestation_count';
|