Skip to content

Commit b0553b9

Browse files
authored
fix: native stuff (#295)
1 parent f56ba77 commit b0553b9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vesselapi/integrations",
3-
"version": "1.0.64",
3+
"version": "1.0.65",
44
"description": "Vessel integrations",
55
"main": "dist/index.js",
66
"module": "dist/index.mjs",

src/sdk/client.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ export const formatUpsertInputWithNative = <
2828
>(
2929
input: T,
3030
): Omit<T, '$native'> => {
31+
if (!input.$native) return input;
32+
3133
// Take keys from $native that overlap with the input and assign them to the input, recursively
3234
const assigned = assign(omit(input, ['$native']), input.$native ?? {});
3335

0 commit comments

Comments
 (0)