@dbos-inc/create 2.6.13-preview → 2.6.16-preview

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": "@dbos-inc/create",
3
- "version": "2.6.13-preview",
3
+ "version": "2.6.16-preview",
4
4
  "description": "Tool for performing project initialization from template",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -20,7 +20,7 @@ describe('operations-test', () => {
20
20
  expect(res).toMatch('Hello, dbos! We have made');
21
21
 
22
22
  // Check the greet count.
23
- const rows = await DBOS.executor.queryUserDB('SELECT * FROM dbos_hello WHERE greet_count=1');
23
+ const rows = await DBOS.queryUserDB('SELECT * FROM dbos_hello WHERE greet_count=1');
24
24
  expect(rows.length).toEqual(1);
25
25
  });
26
26
 
@@ -19,7 +19,7 @@ describe('operations-test', () => {
19
19
  expect(res).toMatch('Hello, dbos! You have been greeted');
20
20
 
21
21
  // Check the greet count.
22
- const rows = (await DBOS.executor.queryUserDB('SELECT * FROM dbos_hello WHERE name=$1', ['dbos'])) as dbos_hello[];
22
+ const rows = (await DBOS.queryUserDB('SELECT * FROM dbos_hello WHERE name=$1', ['dbos'])) as dbos_hello[];
23
23
  expect(rows[0].greet_count).toBe(1);
24
24
  });
25
25