@paymentsdb/sync-engine 0.0.7 → 0.0.8
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/dist/{chunk-LN6KHV6O.js → chunk-62ZCAQ7D.js} +2 -2
- package/dist/{chunk-OLHHINPH.js → chunk-FNRHJKY2.js} +1 -1
- package/dist/{chunk-IQ64IUIL.js → chunk-SY3Y6EPM.js} +2 -2
- package/dist/{chunk-7DYBM7H3.js → chunk-XWQBYFVJ.js} +1 -1
- package/dist/cli/index.cjs +2 -2
- package/dist/cli/index.js +4 -4
- package/dist/cli/lib.cjs +2 -2
- package/dist/cli/lib.js +4 -4
- package/dist/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/dist/supabase/index.cjs +1 -1
- package/dist/supabase/index.js +2 -2
- package/package.json +2 -2
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
StripeSync,
|
|
4
4
|
createStripeWebSocketClient,
|
|
5
5
|
runMigrations
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SY3Y6EPM.js";
|
|
7
7
|
import {
|
|
8
8
|
install,
|
|
9
9
|
uninstall
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FNRHJKY2.js";
|
|
11
11
|
|
|
12
12
|
// src/cli/config.ts
|
|
13
13
|
import dotenv from "dotenv";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
package_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XWQBYFVJ.js";
|
|
4
4
|
|
|
5
5
|
// src/stripeSync.ts
|
|
6
6
|
import Stripe3 from "stripe";
|
|
@@ -45213,7 +45213,7 @@ var StripeSync = class {
|
|
|
45213
45213
|
subscription: {
|
|
45214
45214
|
order: 5,
|
|
45215
45215
|
// Depends on customer, price
|
|
45216
|
-
listFn: (p) => this.stripe.subscriptions.list(p),
|
|
45216
|
+
listFn: (p) => this.stripe.subscriptions.list({ ...p, status: "all" }),
|
|
45217
45217
|
upsertFn: (items, id, bf) => this.upsertSubscriptions(items, id, bf),
|
|
45218
45218
|
supportsCreatedFilter: true
|
|
45219
45219
|
},
|
package/dist/cli/index.cjs
CHANGED
|
@@ -33,7 +33,7 @@ var import_commander = require("commander");
|
|
|
33
33
|
// package.json
|
|
34
34
|
var package_default = {
|
|
35
35
|
name: "@paymentsdb/sync-engine",
|
|
36
|
-
version: "0.0.
|
|
36
|
+
version: "0.0.8",
|
|
37
37
|
private: false,
|
|
38
38
|
description: "Stripe Sync Engine to sync Stripe data to Postgres",
|
|
39
39
|
type: "module",
|
|
@@ -45404,7 +45404,7 @@ var StripeSync = class {
|
|
|
45404
45404
|
subscription: {
|
|
45405
45405
|
order: 5,
|
|
45406
45406
|
// Depends on customer, price
|
|
45407
|
-
listFn: (p) => this.stripe.subscriptions.list(p),
|
|
45407
|
+
listFn: (p) => this.stripe.subscriptions.list({ ...p, status: "all" }),
|
|
45408
45408
|
upsertFn: (items, id, bf) => this.upsertSubscriptions(items, id, bf),
|
|
45409
45409
|
supportsCreatedFilter: true
|
|
45410
45410
|
},
|
package/dist/cli/index.js
CHANGED
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
migrateCommand,
|
|
6
6
|
syncCommand,
|
|
7
7
|
uninstallCommand
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
8
|
+
} from "../chunk-62ZCAQ7D.js";
|
|
9
|
+
import "../chunk-SY3Y6EPM.js";
|
|
10
|
+
import "../chunk-FNRHJKY2.js";
|
|
11
11
|
import {
|
|
12
12
|
package_default
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-XWQBYFVJ.js";
|
|
14
14
|
|
|
15
15
|
// src/cli/index.ts
|
|
16
16
|
import { Command } from "commander";
|
package/dist/cli/lib.cjs
CHANGED
|
@@ -117,7 +117,7 @@ async function loadConfig(options) {
|
|
|
117
117
|
// package.json
|
|
118
118
|
var package_default = {
|
|
119
119
|
name: "@paymentsdb/sync-engine",
|
|
120
|
-
version: "0.0.
|
|
120
|
+
version: "0.0.8",
|
|
121
121
|
private: false,
|
|
122
122
|
description: "Stripe Sync Engine to sync Stripe data to Postgres",
|
|
123
123
|
type: "module",
|
|
@@ -45418,7 +45418,7 @@ var StripeSync = class {
|
|
|
45418
45418
|
subscription: {
|
|
45419
45419
|
order: 5,
|
|
45420
45420
|
// Depends on customer, price
|
|
45421
|
-
listFn: (p) => this.stripe.subscriptions.list(p),
|
|
45421
|
+
listFn: (p) => this.stripe.subscriptions.list({ ...p, status: "all" }),
|
|
45422
45422
|
upsertFn: (items, id, bf) => this.upsertSubscriptions(items, id, bf),
|
|
45423
45423
|
supportsCreatedFilter: true
|
|
45424
45424
|
},
|
package/dist/cli/lib.js
CHANGED
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
migrateCommand,
|
|
7
7
|
syncCommand,
|
|
8
8
|
uninstallCommand
|
|
9
|
-
} from "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
9
|
+
} from "../chunk-62ZCAQ7D.js";
|
|
10
|
+
import "../chunk-SY3Y6EPM.js";
|
|
11
|
+
import "../chunk-FNRHJKY2.js";
|
|
12
|
+
import "../chunk-XWQBYFVJ.js";
|
|
13
13
|
export {
|
|
14
14
|
backfillCommand,
|
|
15
15
|
createTunnel,
|
package/dist/index.cjs
CHANGED
|
@@ -46,7 +46,7 @@ var importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
|
46
46
|
// package.json
|
|
47
47
|
var package_default = {
|
|
48
48
|
name: "@paymentsdb/sync-engine",
|
|
49
|
-
version: "0.0.
|
|
49
|
+
version: "0.0.8",
|
|
50
50
|
private: false,
|
|
51
51
|
description: "Stripe Sync Engine to sync Stripe data to Postgres",
|
|
52
52
|
type: "module",
|
|
@@ -45347,7 +45347,7 @@ var StripeSync = class {
|
|
|
45347
45347
|
subscription: {
|
|
45348
45348
|
order: 5,
|
|
45349
45349
|
// Depends on customer, price
|
|
45350
|
-
listFn: (p) => this.stripe.subscriptions.list(p),
|
|
45350
|
+
listFn: (p) => this.stripe.subscriptions.list({ ...p, status: "all" }),
|
|
45351
45351
|
upsertFn: (items, id, bf) => this.upsertSubscriptions(items, id, bf),
|
|
45352
45352
|
supportsCreatedFilter: true
|
|
45353
45353
|
},
|
package/dist/index.js
CHANGED
package/dist/supabase/index.cjs
CHANGED
|
@@ -59,7 +59,7 @@ var sigmaWorkerFunctionCode = sigma_data_worker_default;
|
|
|
59
59
|
// package.json
|
|
60
60
|
var package_default = {
|
|
61
61
|
name: "@paymentsdb/sync-engine",
|
|
62
|
-
version: "0.0.
|
|
62
|
+
version: "0.0.8",
|
|
63
63
|
private: false,
|
|
64
64
|
description: "Stripe Sync Engine to sync Stripe data to Postgres",
|
|
65
65
|
type: "module",
|
package/dist/supabase/index.js
CHANGED
|
@@ -10,8 +10,8 @@ import {
|
|
|
10
10
|
uninstall,
|
|
11
11
|
webhookFunctionCode,
|
|
12
12
|
workerFunctionCode
|
|
13
|
-
} from "../chunk-
|
|
14
|
-
import "../chunk-
|
|
13
|
+
} from "../chunk-FNRHJKY2.js";
|
|
14
|
+
import "../chunk-XWQBYFVJ.js";
|
|
15
15
|
export {
|
|
16
16
|
INSTALLATION_ERROR_SUFFIX,
|
|
17
17
|
INSTALLATION_INSTALLED_SUFFIX,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paymentsdb/sync-engine",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.8",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Stripe Sync Engine to sync Stripe data to Postgres",
|
|
6
6
|
"type": "module",
|
|
@@ -88,4 +88,4 @@
|
|
|
88
88
|
],
|
|
89
89
|
"author": "PaymentsDB <https://paymentsdb.com/>",
|
|
90
90
|
"license": "Apache-2.0"
|
|
91
|
-
}
|
|
91
|
+
}
|