@neetru/sdk 3.0.1 → 3.0.2
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/CHANGELOG.md +38 -0
- package/dist/auth.cjs +61 -13
- package/dist/auth.cjs.map +1 -1
- package/dist/auth.d.cts +2 -2
- package/dist/auth.d.ts +2 -2
- package/dist/auth.mjs +61 -13
- package/dist/auth.mjs.map +1 -1
- package/dist/catalog.d.cts +2 -2
- package/dist/catalog.d.ts +2 -2
- package/dist/checkout.d.cts +2 -2
- package/dist/checkout.d.ts +2 -2
- package/dist/{collection-ref-DqAAhuhX.d.cts → collection-ref-BDdfD87k.d.cts} +118 -9
- package/dist/{collection-ref-DqAAhuhX.d.ts → collection-ref-BDdfD87k.d.ts} +118 -9
- package/dist/db-react.d.cts +1 -1
- package/dist/db-react.d.ts +1 -1
- package/dist/db.cjs +81 -16
- package/dist/db.cjs.map +1 -1
- package/dist/db.d.cts +2 -2
- package/dist/db.d.ts +2 -2
- package/dist/db.mjs +76 -17
- package/dist/db.mjs.map +1 -1
- package/dist/entitlements.d.cts +2 -2
- package/dist/entitlements.d.ts +2 -2
- package/dist/index.cjs +81 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +76 -17
- package/dist/index.mjs.map +1 -1
- package/dist/mocks.d.cts +2 -2
- package/dist/mocks.d.ts +2 -2
- package/dist/notifications.d.cts +2 -2
- package/dist/notifications.d.ts +2 -2
- package/dist/react.d.cts +2 -2
- package/dist/react.d.ts +2 -2
- package/dist/support.d.cts +2 -2
- package/dist/support.d.ts +2 -2
- package/dist/telemetry.d.cts +2 -2
- package/dist/telemetry.d.ts +2 -2
- package/dist/{types-DALIhcbq.d.ts → types-D7zVkO3n.d.ts} +1 -1
- package/dist/{types-Lfd3LiAF.d.cts → types-Dc4bjrrt.d.cts} +1 -1
- package/dist/usage.d.cts +2 -2
- package/dist/usage.d.ts +2 -2
- package/dist/webhooks.d.cts +2 -2
- package/dist/webhooks.d.ts +2 -2
- package/package.json +1 -1
package/dist/mocks.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { x as NeetruUser, A as AuthNamespace, J as SignInOptions, a as AuthStateListener, p as NeetruDb, w as NeetruSqlClient, E as EntitlementCheck, O as SupportNamespace, i as CreateTicketInput, U as SupportTicket, _ as UsageNamespace, $ as UsageQuota } from './types-
|
|
2
|
-
import { c as DbCollectionRef,
|
|
1
|
+
import { x as NeetruUser, A as AuthNamespace, J as SignInOptions, a as AuthStateListener, p as NeetruDb, w as NeetruSqlClient, E as EntitlementCheck, O as SupportNamespace, i as CreateTicketInput, U as SupportTicket, _ as UsageNamespace, $ as UsageQuota } from './types-Dc4bjrrt.cjs';
|
|
2
|
+
import { c as DbCollectionRef, k as SyncState, U as Unsubscribe, C as ConflictRecord } from './collection-ref-BDdfD87k.cjs';
|
|
3
3
|
import 'drizzle-orm/node-postgres';
|
|
4
4
|
import './errors.cjs';
|
|
5
5
|
|
package/dist/mocks.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { x as NeetruUser, A as AuthNamespace, J as SignInOptions, a as AuthStateListener, p as NeetruDb, w as NeetruSqlClient, E as EntitlementCheck, O as SupportNamespace, i as CreateTicketInput, U as SupportTicket, _ as UsageNamespace, $ as UsageQuota } from './types-
|
|
2
|
-
import { c as DbCollectionRef,
|
|
1
|
+
import { x as NeetruUser, A as AuthNamespace, J as SignInOptions, a as AuthStateListener, p as NeetruDb, w as NeetruSqlClient, E as EntitlementCheck, O as SupportNamespace, i as CreateTicketInput, U as SupportTicket, _ as UsageNamespace, $ as UsageQuota } from './types-D7zVkO3n.js';
|
|
2
|
+
import { c as DbCollectionRef, k as SyncState, U as Unsubscribe, C as ConflictRecord } from './collection-ref-BDdfD87k.js';
|
|
3
3
|
import 'drizzle-orm/node-postgres';
|
|
4
4
|
import './errors.js';
|
|
5
5
|
|
package/dist/notifications.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { L as ListNotificationsOptions, m as MockNotifications, y as NotificationScopeOptions, z as NotificationsNamespace, B as ProductNotification, F as ProductNotificationSeverity, S as SendNotificationInput, a8 as createNotificationsNamespace } from './types-
|
|
2
|
-
import './collection-ref-
|
|
1
|
+
export { L as ListNotificationsOptions, m as MockNotifications, y as NotificationScopeOptions, z as NotificationsNamespace, B as ProductNotification, F as ProductNotificationSeverity, S as SendNotificationInput, a8 as createNotificationsNamespace } from './types-Dc4bjrrt.cjs';
|
|
2
|
+
import './collection-ref-BDdfD87k.cjs';
|
|
3
3
|
import 'drizzle-orm/node-postgres';
|
|
4
4
|
import './errors.cjs';
|
package/dist/notifications.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { L as ListNotificationsOptions, m as MockNotifications, y as NotificationScopeOptions, z as NotificationsNamespace, B as ProductNotification, F as ProductNotificationSeverity, S as SendNotificationInput, a8 as createNotificationsNamespace } from './types-
|
|
2
|
-
import './collection-ref-
|
|
1
|
+
export { L as ListNotificationsOptions, m as MockNotifications, y as NotificationScopeOptions, z as NotificationsNamespace, B as ProductNotification, F as ProductNotificationSeverity, S as SendNotificationInput, a8 as createNotificationsNamespace } from './types-D7zVkO3n.js';
|
|
2
|
+
import './collection-ref-BDdfD87k.js';
|
|
3
3
|
import 'drizzle-orm/node-postgres';
|
|
4
4
|
import './errors.js';
|
package/dist/react.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { N as NeetruClient, g as CheckoutStartResult } from './types-
|
|
3
|
-
import './collection-ref-
|
|
2
|
+
import { N as NeetruClient, g as CheckoutStartResult } from './types-Dc4bjrrt.cjs';
|
|
3
|
+
import './collection-ref-BDdfD87k.cjs';
|
|
4
4
|
import 'drizzle-orm/node-postgres';
|
|
5
5
|
import './errors.cjs';
|
|
6
6
|
|
package/dist/react.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { N as NeetruClient, g as CheckoutStartResult } from './types-
|
|
3
|
-
import './collection-ref-
|
|
2
|
+
import { N as NeetruClient, g as CheckoutStartResult } from './types-D7zVkO3n.js';
|
|
3
|
+
import './collection-ref-BDdfD87k.js';
|
|
4
4
|
import 'drizzle-orm/node-postgres';
|
|
5
5
|
import './errors.js';
|
|
6
6
|
|
package/dist/support.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as ResolvedConfig, O as SupportNamespace } from './types-
|
|
2
|
-
import './collection-ref-
|
|
1
|
+
import { I as ResolvedConfig, O as SupportNamespace } from './types-Dc4bjrrt.cjs';
|
|
2
|
+
import './collection-ref-BDdfD87k.cjs';
|
|
3
3
|
import 'drizzle-orm/node-postgres';
|
|
4
4
|
import './errors.cjs';
|
|
5
5
|
|
package/dist/support.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as ResolvedConfig, O as SupportNamespace } from './types-
|
|
2
|
-
import './collection-ref-
|
|
1
|
+
import { I as ResolvedConfig, O as SupportNamespace } from './types-D7zVkO3n.js';
|
|
2
|
+
import './collection-ref-BDdfD87k.js';
|
|
3
3
|
import 'drizzle-orm/node-postgres';
|
|
4
4
|
import './errors.js';
|
|
5
5
|
|
package/dist/telemetry.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as ResolvedConfig, W as TelemetryEventInput, V as TelemetryEventAck, Y as TelemetryLogInput, X as TelemetryLogAck } from './types-
|
|
2
|
-
import './collection-ref-
|
|
1
|
+
import { I as ResolvedConfig, W as TelemetryEventInput, V as TelemetryEventAck, Y as TelemetryLogInput, X as TelemetryLogAck } from './types-Dc4bjrrt.cjs';
|
|
2
|
+
import './collection-ref-BDdfD87k.cjs';
|
|
3
3
|
import 'drizzle-orm/node-postgres';
|
|
4
4
|
import './errors.cjs';
|
|
5
5
|
|
package/dist/telemetry.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as ResolvedConfig, W as TelemetryEventInput, V as TelemetryEventAck, Y as TelemetryLogInput, X as TelemetryLogAck } from './types-
|
|
2
|
-
import './collection-ref-
|
|
1
|
+
import { I as ResolvedConfig, W as TelemetryEventInput, V as TelemetryEventAck, Y as TelemetryLogInput, X as TelemetryLogAck } from './types-D7zVkO3n.js';
|
|
2
|
+
import './collection-ref-BDdfD87k.js';
|
|
3
3
|
import 'drizzle-orm/node-postgres';
|
|
4
4
|
import './errors.js';
|
|
5
5
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as DbCollectionRef$1,
|
|
1
|
+
import { c as DbCollectionRef$1, k as SyncState, U as Unsubscribe, C as ConflictRecord, R as RealtimeTransport } from './collection-ref-BDdfD87k.js';
|
|
2
2
|
import { NodePgDatabase } from 'drizzle-orm/node-postgres';
|
|
3
3
|
import { NeetruError } from './errors.js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as DbCollectionRef$1,
|
|
1
|
+
import { c as DbCollectionRef$1, k as SyncState, U as Unsubscribe, C as ConflictRecord, R as RealtimeTransport } from './collection-ref-BDdfD87k.cjs';
|
|
2
2
|
import { NodePgDatabase } from 'drizzle-orm/node-postgres';
|
|
3
3
|
import { NeetruError } from './errors.cjs';
|
|
4
4
|
|
package/dist/usage.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as ResolvedConfig, _ as UsageNamespace } from './types-
|
|
2
|
-
import './collection-ref-
|
|
1
|
+
import { I as ResolvedConfig, _ as UsageNamespace } from './types-Dc4bjrrt.cjs';
|
|
2
|
+
import './collection-ref-BDdfD87k.cjs';
|
|
3
3
|
import 'drizzle-orm/node-postgres';
|
|
4
4
|
import './errors.cjs';
|
|
5
5
|
|
package/dist/usage.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as ResolvedConfig, _ as UsageNamespace } from './types-
|
|
2
|
-
import './collection-ref-
|
|
1
|
+
import { I as ResolvedConfig, _ as UsageNamespace } from './types-D7zVkO3n.js';
|
|
2
|
+
import './collection-ref-BDdfD87k.js';
|
|
3
3
|
import 'drizzle-orm/node-postgres';
|
|
4
4
|
import './errors.js';
|
|
5
5
|
|
package/dist/webhooks.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { n as MockWebhooks, R as RegisterWebhookInput, a1 as WebhookEndpoint, a2 as WebhookEvent, a3 as WebhookScopeOptions, a4 as WebhookTestResult, a5 as WebhooksNamespace, aa as createWebhooksNamespace, ac as verifyWebhookSignature } from './types-
|
|
2
|
-
import './collection-ref-
|
|
1
|
+
export { n as MockWebhooks, R as RegisterWebhookInput, a1 as WebhookEndpoint, a2 as WebhookEvent, a3 as WebhookScopeOptions, a4 as WebhookTestResult, a5 as WebhooksNamespace, aa as createWebhooksNamespace, ac as verifyWebhookSignature } from './types-Dc4bjrrt.cjs';
|
|
2
|
+
import './collection-ref-BDdfD87k.cjs';
|
|
3
3
|
import 'drizzle-orm/node-postgres';
|
|
4
4
|
import './errors.cjs';
|
package/dist/webhooks.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { n as MockWebhooks, R as RegisterWebhookInput, a1 as WebhookEndpoint, a2 as WebhookEvent, a3 as WebhookScopeOptions, a4 as WebhookTestResult, a5 as WebhooksNamespace, aa as createWebhooksNamespace, ac as verifyWebhookSignature } from './types-
|
|
2
|
-
import './collection-ref-
|
|
1
|
+
export { n as MockWebhooks, R as RegisterWebhookInput, a1 as WebhookEndpoint, a2 as WebhookEvent, a3 as WebhookScopeOptions, a4 as WebhookTestResult, a5 as WebhooksNamespace, aa as createWebhooksNamespace, ac as verifyWebhookSignature } from './types-D7zVkO3n.js';
|
|
2
|
+
import './collection-ref-BDdfD87k.js';
|
|
3
3
|
import 'drizzle-orm/node-postgres';
|
|
4
4
|
import './errors.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neetru/sdk",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "Neetru SDK 3.0 — biblioteca runtime universal (browser/Node/Edge) para consumir o ecossistema Neetru. Paths canonical /api/sdk/v1/*, productId obrigatório, Idempotency-Key em mutations, WebCrypto signatures, baseUrl allowlist fail-closed.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|