@dbos-inc/dbos-sdk 0.13.3-preview → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -12,22 +12,24 @@ You want to build your next database-backed application with DBOS because:
12
12
 
13
13
  ## Getting Started
14
14
 
15
- The fastest way to get started with DBOS is by following the [quickstart](https://docs.dbos.dev/getting-started/quickstart), where you'll learn how to get a backend running in less than five minutes.
15
+ The fastest way to get started with DBOS is by following the [quickstart](https://docs.dbos.dev/getting-started/quickstart), where you'll learn how to get a DBOS application running in less than five minutes.
16
16
 
17
17
  ## Documentation
18
18
 
19
19
  You can find our full documentation at [https://docs.dbos.dev/](https://docs.dbos.dev/).
20
20
 
21
- Check out our [Getting Started](https://docs.dbos.dev/category/getting-started) for an overview of how to build an application.
21
+ Check out our [Getting Started](https://docs.dbos.dev/getting-started/) for an overview of how to start with DBOS.
22
22
 
23
23
  Our documentation has the following sections:
24
24
 
25
- - [Getting Started](https://docs.dbos.dev/category/getting-started)
26
- - [DBOS SDK Tutorials](https://docs.dbos.dev/category/tutorials)
25
+ - [Getting Started](https://docs.dbos.dev/getting-started/)
26
+ - [DBOS SDK Tutorials](https://docs.dbos.dev/category/dbos-sdk-tutorials)
27
27
  - [DBOS Cloud Tutorials](https://docs.dbos.dev/category/dbos-cloud-tutorials)
28
28
  - [API Reference](https://docs.dbos.dev/category/reference)
29
29
  - [Concepts and Explanations](https://docs.dbos.dev/category/concepts-and-explanations)
30
30
 
31
31
  ## Community
32
32
 
33
- Please join our community on [Discord](https://discord.gg/fMwQjeW5zg)! If you see a bug or have a feature request, don't hesitate to open an issue here on GitHub.
33
+ Please join our community on [Discord](https://discord.gg/fMwQjeW5zg)!
34
+ If you see a bug or have a feature request, don't hesitate to open an issue here on GitHub.
35
+ If you're interested in contributing, check out our [contributions guide](./CONTRIBUTING.md).
@@ -78,8 +78,8 @@ async function init(appName) {
78
78
  fs_1.default.writeFileSync(packageJsonName, JSON.stringify(packageJson, null, 2), 'utf-8');
79
79
  (0, child_process_1.execSync)("npm ci --no-fund", { cwd: appName, stdio: 'inherit' });
80
80
  (0, child_process_1.execSync)("npm uninstall --no-fund @dbos-inc/dbos-sdk", { cwd: appName, stdio: 'inherit' });
81
- (0, child_process_1.execSync)("npm install --no-fund --save @dbos-inc/dbos-sdk", { cwd: appName, stdio: 'inherit' });
82
- (0, child_process_1.execSync)("npm install --no-fund --save-dev @dbos-inc/dbos-cloud", { cwd: appName, stdio: 'inherit' });
81
+ (0, child_process_1.execSync)("npm install --no-fund --save @dbos-inc/dbos-sdk@latest", { cwd: appName, stdio: 'inherit' });
82
+ (0, child_process_1.execSync)("npm install --no-fund --save-dev @dbos-inc/dbos-cloud@latest", { cwd: appName, stdio: 'inherit' });
83
83
  console.log("Application initialized successfully!");
84
84
  }
85
85
  exports.init = init;
@@ -1 +1 @@
1
- {"version":3,"file":"init.js","sourceRoot":"","sources":["../../../src/dbos-runtime/init.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAAyC;AACzC,gDAAuB;AACvB,4CAAmB;AACnB,iDAAwC;AACxC,oCAAoC;AACpC,qDAAuC;AAMvC,MAAM,QAAQ,GAAG,CAAC,CAAS,EAAE,EAAE,CAAC,CAAC,CAAA;AAE1B,MAAM,IAAI,GAAG,KAAK,EACvB,GAAW,EACX,OAAiB,EACjB,IAAY,EACZ,EAAE,MAAM,GAAG,QAAQ,KAAiB,EAAE,EACtC,EAAE;IAEF,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;QAClC,MAAM,IAAI,SAAS,CAAC,+BAA+B,CAAC,CAAA;IACtD,CAAC;IAED,MAAM,WAAW,GAAG,MAAM,IAAA,iBAAI,EAAC,OAAO,EAAE;QACtC,GAAG,EAAE,GAAG;QACR,GAAG,EAAE,IAAI;QACT,QAAQ,EAAE,KAAK;QACf,KAAK,EAAE,KAAK;QACZ,MAAM,EAAE,CAAC,oBAAoB,EAAE,YAAY,CAAC;KAC7C,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AAM,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC;IAYnH,IAAI,CAAC,CAAC,SAAS,WAAW,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,EAAE,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC,CAAC,GAAG,IAAI,CAAC;IAYtH,QAAQ,CAAC,CAAC,SAAS,WAAW,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;IAU5E,QAAQ,CAAC,CAAC,SAAS,WAAW,CAAC,GAAG,CAAC,EAAE,aAAa,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC,CAAC,GAAG,IAAI,CAAC;IAYxI,gBAAgB,CAAC,CAAC,EAAE,UAAU,EAAE,MAAM,GAAG,cAAc,CAAC,CAAC,CAAC;IAOpD,KAAK,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAKtC"}
@@ -57,8 +57,8 @@ class WorkflowContextDebug extends context_1.DBOSContextImpl {
57
57
  const query = "SELECT output, error, txn_snapshot, txn_id FROM dbos.transaction_outputs WHERE workflow_uuid=$1 AND function_id=$2";
58
58
  const rows = await this.#dbosExec.userDatabase.queryWithClient(client, query, this.workflowUUID, funcID);
59
59
  if (rows.length === 0 || rows.length > 1) {
60
- this.logger.error("Unexpected! This should never happen during debug. Returned rows: " + rows.toString() + `. WorkflowUUID ${this.workflowUUID}, function ID ${funcID}`);
61
- throw new error_1.DBOSDebuggerError(`This should never happen during debug. Returned ${rows.length} rows: ` + rows.toString());
60
+ this.logger.error("Unexpected! This should never happen during debug. Found incorrect rows for transaction output. Returned rows: " + rows.toString() + `. WorkflowUUID ${this.workflowUUID}, function ID ${funcID}`);
61
+ throw new error_1.DBOSDebuggerError(`This should never happen during debug. Found incorrect rows for transaction output. Returned ${rows.length} rows: ` + rows.toString());
62
62
  }
63
63
  if (JSON.parse(rows[0].error) != null) {
64
64
  return (0, serialize_error_1.deserializeError)(JSON.parse(rows[0].error));
@@ -192,6 +192,8 @@ class WorkflowContextDebug extends context_1.DBOSContextImpl {
192
192
  }
193
193
  // eslint-disable-next-line @typescript-eslint/require-await
194
194
  async sleep(_) {
195
+ // Need to increment function ID for faithful replay.
196
+ this.functionIDGetIncrement();
195
197
  return;
196
198
  }
197
199
  }
@@ -1 +1 @@
1
- {"version":3,"file":"debug_workflow.js","sourceRoot":"","sources":["../../../src/debugger/debug_workflow.ts"],"names":[],"mappings":";;;AAAA,uDAAuD;AACvD,oDAAmF;AAEnF,gDAAqE;AAErE,oCAA6C;AAC7C,qDAAmD;AAInD,wCAA6C;AAC7C,8CAAwD;AASxD;;GAEG;AACH,MAAa,oBAAqB,SAAQ,yBAAe;IAKoD;IAJ3G,UAAU,GAAW,CAAC,CAAC;IACd,SAAS,CAAC;IACV,cAAc,CAAU;IAEjC,YAAY,QAAsB,EAAE,SAAsC,EAAE,YAAoB,EAAW,cAA8B,EAAE,YAAoB;QAC7J,MAAM,IAAI,GAAG,QAAQ,CAAC,MAAM,CAAC,SAAS,CACpC,YAAY,EACZ;YACE,aAAa,EAAE,YAAY;YAC3B,aAAa,EAAE,6BAAa,CAAC,QAAQ;YACrC,iBAAiB,EAAE,SAAS,EAAE,iBAAiB,IAAI,EAAE;YACrD,kBAAkB,EAAE,SAAS,EAAE,kBAAkB,IAAI,EAAE;YACvD,WAAW,EAAE,SAAS,EAAE,WAAW,IAAI,EAAE;SAC1C,EACD,SAAS,EAAE,IAAI,CAChB,CAAC;QACF,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,QAAQ,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;QAZmD,mBAAc,GAAd,cAAc,CAAgB;QAavI,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACj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