@sylphx/sdk 0.19.1 → 0.19.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/README.md +3 -2
- package/dist/index.mjs +5 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -346,7 +346,7 @@ import { useFeatureFlags } from '@sylphx/sdk/react' // All flags at once
|
|
|
346
346
|
import { useNotifications } from '@sylphx/sdk/react' // In-app notifications
|
|
347
347
|
import { useReferral } from '@sylphx/sdk/react' // Referral program
|
|
348
348
|
import { useOrganization } from '@sylphx/sdk/react' // Multi-tenant orgs
|
|
349
|
-
import {
|
|
349
|
+
import { useTasks } from '@sylphx/sdk/react' // Background tasks
|
|
350
350
|
import { useErrorTracking } from '@sylphx/sdk/react' // Error capture
|
|
351
351
|
```
|
|
352
352
|
|
|
@@ -447,7 +447,8 @@ health.serveUnixSocket() // → /var/run/sylphx/health.sock
|
|
|
447
447
|
All types are fully inferred. Import them directly:
|
|
448
448
|
|
|
449
449
|
```ts
|
|
450
|
-
import type { User, Plan, Subscription
|
|
450
|
+
import type { User, Plan, Subscription } from '@sylphx/sdk'
|
|
451
|
+
import type { AppConfig } from '@sylphx/sdk/server'
|
|
451
452
|
import type { AuthResult } from '@sylphx/sdk/nextjs'
|
|
452
453
|
```
|
|
453
454
|
|
package/dist/index.mjs
CHANGED
|
@@ -1517,13 +1517,16 @@ var BUILD_MINUTE_PRICES = {
|
|
|
1517
1517
|
// $0.014/min
|
|
1518
1518
|
large: 3e4,
|
|
1519
1519
|
// $0.030/min
|
|
1520
|
-
xlarge: 126e3
|
|
1520
|
+
xlarge: 126e3,
|
|
1521
1521
|
// $0.126/min
|
|
1522
|
+
"2xlarge": 252e3
|
|
1523
|
+
// $0.252/min
|
|
1522
1524
|
};
|
|
1523
1525
|
var BUILD_SIZE_MULTIPLIERS = {
|
|
1524
1526
|
standard: 1,
|
|
1525
1527
|
large: 2,
|
|
1526
|
-
xlarge: 9
|
|
1528
|
+
xlarge: 9,
|
|
1529
|
+
"2xlarge": 18
|
|
1527
1530
|
};
|
|
1528
1531
|
var BUILD_MINUTES_INCLUDED = {
|
|
1529
1532
|
free: 100,
|