@xata.io/drizzle 0.0.0-alpha.va5ca98624403c3ad32a4dfd460905da4a32c30a9 → 0.0.0-alpha.va648a8273f600f44e4e9ded79162e54748da09a8

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.
@@ -8,10 +8,10 @@
8
8
  https://rollupjs.org/troubleshooting/#warning-treating-module-as-external-dependency
9
9
  drizzle-orm (imported by "src/http/driver.ts", "src/http/session.ts" and "src/shared/utils.ts")
10
10
  drizzle-orm/pg-core (imported by "src/http/driver.ts" and "src/http/session.ts")
11
- created dist/index.cjs, dist/index.mjs in 348ms
11
+ created dist/index.cjs, dist/index.mjs in 193ms
12
12
  
13
13
  src/index.ts → dist/index.d.ts...
14
- created dist/index.d.ts in 7s
14
+ created dist/index.d.ts in 5.1s
15
15
  
16
16
  src/pg/index.ts → dist/pg.cjs, dist/pg.mjs...
17
17
  (!) Unresolved dependencies
@@ -19,7 +19,7 @@
19
19
  drizzle-orm (imported by "src/pg/driver.ts", "src/pg/session.ts" and "src/shared/utils.ts")
20
20
  drizzle-orm/pg-core (imported by "src/pg/driver.ts" and "src/pg/session.ts")
21
21
  pg (imported by "src/pg/session.ts")
22
- created dist/pg.cjs, dist/pg.mjs in 44ms
22
+ created dist/pg.cjs, dist/pg.mjs in 40ms
23
23
  
24
24
  src/pg/index.ts → dist/pg.d.ts...
25
25
  created dist/pg.d.ts in 1.6s
package/CHANGELOG.md CHANGED
@@ -1,13 +1,17 @@
1
1
  # @xata.io/drizzle
2
2
 
3
- ## 0.0.0-alpha.va5ca98624403c3ad32a4dfd460905da4a32c30a9
3
+ ## 0.0.0-alpha.va648a8273f600f44e4e9ded79162e54748da09a8
4
+
5
+ ### Major Changes
6
+
7
+ - [#1477](https://github.com/xataio/client-ts/pull/1477) [`e9c165d`](https://github.com/xataio/client-ts/commit/e9c165d3765bed18b2f4d7f6d8b815fef489ee61) Thanks [@SferaDev](https://github.com/SferaDev)! - Version 1.0
4
8
 
5
9
  ### Patch Changes
6
10
 
7
11
  - Force canary build
8
12
 
9
- - Updated dependencies []:
10
- - @xata.io/client@0.0.0-alpha.va5ca98624403c3ad32a4dfd460905da4a32c30a9
13
+ - Updated dependencies [[`118ef58`](https://github.com/xataio/client-ts/commit/118ef58291494f86577e49dbcfdb654cb51bd64c), [`aaa332d`](https://github.com/xataio/client-ts/commit/aaa332d8c1c612dda781ac3704b9ccacb8da7670), [`e9c165d`](https://github.com/xataio/client-ts/commit/e9c165d3765bed18b2f4d7f6d8b815fef489ee61)]:
14
+ - @xata.io/client@0.0.0-alpha.va648a8273f600f44e4e9ded79162e54748da09a8
11
15
 
12
16
  ## 0.0.23
13
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xata.io/drizzle",
3
- "version": "0.0.0-alpha.va5ca98624403c3ad32a4dfd460905da4a32c30a9",
3
+ "version": "0.0.0-alpha.va648a8273f600f44e4e9ded79162e54748da09a8",
4
4
  "description": "",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",
@@ -23,10 +23,10 @@
23
23
  "url": "https://github.com/xataio/client-ts/issues"
24
24
  },
25
25
  "dependencies": {
26
- "@xata.io/client": "0.0.0-alpha.va5ca98624403c3ad32a4dfd460905da4a32c30a9"
26
+ "@xata.io/client": "0.0.0-alpha.va648a8273f600f44e4e9ded79162e54748da09a8"
27
27
  },
28
28
  "devDependencies": {
29
- "@types/pg": "^8.11.6",
29
+ "@types/pg": "^8.11.8",
30
30
  "drizzle-orm": "^0.33.0",
31
31
  "pg": "^8.12.0"
32
32
  },
@@ -53,13 +53,16 @@ function getDomain(host: HostProvider) {
53
53
 
54
54
  function getDrizzleClient(type: string, database: string, branch: string) {
55
55
  if (type === 'http') {
56
- const xata = new BaseClient({
57
- apiKey,
58
- host,
59
- clientName: 'sdk-tests',
60
- databaseURL: `https://${workspace}.${region}.${getDomain(host)}/db/${database}`,
61
- branch
62
- });
56
+ const xata = new BaseClient(
57
+ {
58
+ apiKey,
59
+ host,
60
+ clientName: 'sdk-tests',
61
+ databaseURL: `https://${workspace}.${region}.${getDomain(host)}/db/${database}`,
62
+ branch
63
+ },
64
+ { tables: [] }
65
+ );
63
66
 
64
67
  return { db: drizzleHttp(xata, { schema, logger: ENABLE_LOGGING }) };
65
68
  } else if (type === 'pg') {
@@ -82,8 +85,7 @@ describe.concurrent.each([{ type: 'pg' }, { type: 'http' }])('Drizzle $type', ({
82
85
  beforeAll(async () => {
83
86
  await api.databases.createDatabase({
84
87
  pathParams: { workspaceId: workspace, dbName },
85
- body: { region, branchName: 'main' },
86
- headers: { 'X-Features': 'feat-pgroll-migrations=1' }
88
+ body: { region, branchName: 'main', postgresEnabled: true }
87
89
  });
88
90
 
89
91
  await waitForReplication(dbName);