@wix/sdk-runtime
Advanced tools
Comparing version
export function transformSDKDurationToRESTDuration(duration) { | ||
if (!duration) { | ||
return ''; | ||
return '0s'; | ||
} | ||
@@ -5,0 +5,0 @@ const { seconds = '0', nanos = 0 } = duration; |
@@ -7,3 +7,3 @@ "use strict"; | ||
if (!duration) { | ||
return ''; | ||
return '0s'; | ||
} | ||
@@ -10,0 +10,0 @@ const { seconds = '0', nanos = 0 } = duration; |
{ | ||
"name": "@wix/sdk-runtime", | ||
"version": "0.3.34", | ||
"version": "0.3.35", | ||
"license": "MIT", | ||
@@ -89,3 +89,3 @@ "sideEffects": false, | ||
"jsdom": "^22.1.0", | ||
"type-fest": "^4.33.0", | ||
"type-fest": "^4.34.1", | ||
"typescript": "^5.7.3", | ||
@@ -113,3 +113,3 @@ "vitest": "^1.6.1", | ||
}, | ||
"falconPackageHash": "910b4ef3d0b58644b3eaddb5760c7f1fe9c29a979e8fb5070b282ead" | ||
"falconPackageHash": "adccbb6a6b4e6b01e4798dc297726d3b7eb984317750a8ba6ae17f5d" | ||
} |
182045
0