@svadmin/pocketbase 0.12.1 → 0.13.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@svadmin/pocketbase",
3
- "version": "0.12.1",
3
+ "version": "0.13.0",
4
4
  "description": "PocketBase adapters — DataProvider, AuthProvider, LiveProvider for svadmin",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -20,11 +20,11 @@
20
20
  }
21
21
  },
22
22
  "peerDependencies": {
23
- "@svadmin/core": "^0.57.0",
23
+ "@svadmin/core": "^0.59.0",
24
24
  "pocketbase": ">=0.28.0"
25
25
  },
26
26
  "dependencies": {
27
- "@sinclair/typebox": "^0.34.52"
27
+ "typebox": "^1.3.34"
28
28
  },
29
29
  "devDependencies": {
30
30
  "pocketbase": "0.28.0"
@@ -1,4 +1,4 @@
1
- import { Type } from '@sinclair/typebox';
1
+ import { Type } from 'typebox';
2
2
  import { definedOptions } from '@svadmin/core/options';
3
3
  import type { AuthProvider, Identity, AuthActionResult, CheckResult } from '@svadmin/core';
4
4
  import { authRecord, collectionName, decode, nonempty, PocketBaseBoundaryError } from './boundary';
package/src/boundary.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Type, type Static, type TSchema } from '@sinclair/typebox';
1
+ import { Type, type Static, type TSchema } from 'typebox';
2
2
  import { checkExact, snapshotPlainData } from '@svadmin/core/schema';
3
3
 
4
4
  export const nonempty = Type.String({ minLength: 1 });
@@ -1,4 +1,4 @@
1
- import { Type, type Static } from '@sinclair/typebox';
1
+ import { Type, type Static } from 'typebox';
2
2
  import type { LiveProvider, LiveEvent } from '@svadmin/core';
3
3
  import { collectionName, decode, nonempty } from './boundary';
4
4