@drawbridge/drawbridge-utils 0.0.36 → 0.0.37

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/ai.cjs CHANGED
@@ -105,7 +105,7 @@ var insertTransaction = async ({
105
105
  collection: "transaction",
106
106
  data: {
107
107
  ..._id && { _id },
108
- userId: user == null ? void 0 : user.id,
108
+ user: user == null ? void 0 : user.id,
109
109
  type,
110
110
  category,
111
111
  source,
package/dist/ai.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  debit
3
- } from "./chunk-RW2FJVIV.js";
3
+ } from "./chunk-DLRNUBZ4.js";
4
4
  import {
5
5
  circuit
6
6
  } from "./chunk-6HH36OK6.js";
@@ -20,7 +20,7 @@ var insertTransaction = async ({
20
20
  collection: "transaction",
21
21
  data: {
22
22
  ..._id && { _id },
23
- userId: user == null ? void 0 : user.id,
23
+ user: user == null ? void 0 : user.id,
24
24
  type,
25
25
  category,
26
26
  source,
@@ -44,7 +44,7 @@ var insertTransaction = async ({
44
44
  collection: "transaction",
45
45
  data: {
46
46
  ..._id && { _id },
47
- userId: user == null ? void 0 : user.id,
47
+ user: user == null ? void 0 : user.id,
48
48
  type,
49
49
  category,
50
50
  source,
@@ -50,7 +50,7 @@ const insertTransaction = async ({
50
50
  collection : 'transaction',
51
51
  data : {
52
52
  ...( _id && { _id }),
53
- userId : user?.id,
53
+ user : user?.id,
54
54
  type,
55
55
  category,
56
56
  source,
@@ -50,7 +50,7 @@ const insertTransaction = async ({
50
50
  collection : 'transaction',
51
51
  data : {
52
52
  ...( _id && { _id }),
53
- userId : user?.id,
53
+ user : user?.id,
54
54
  type,
55
55
  category,
56
56
  source,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  credit,
3
3
  debit
4
- } from "./chunk-RW2FJVIV.js";
4
+ } from "./chunk-DLRNUBZ4.js";
5
5
  export {
6
6
  credit,
7
7
  debit
package/package.json CHANGED
@@ -104,5 +104,5 @@
104
104
  "build": "tsup && npm publish"
105
105
  },
106
106
  "types": "dist/index.d.ts",
107
- "version": "0.0.36"
107
+ "version": "0.0.37"
108
108
  }