"use strict";function setItem$(a){return ddSdk_1.ddSdk.invokeAPI(apiName,a)}var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(a){for(var e,s=1,t=arguments.length;s<t;s++){e=arguments[s];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(a[r]=e[r])}return a},__assign.apply(this,arguments)},_a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.setItem$=void 0;var ddSdk_1=require("../../../lib/ddSdk"),apiName="util.domainStorage.setItem",paramsDeal=function(a){var e={name:a.key,value:a.data};return __assign(__assign({},e),a)};ddSdk_1.ddSdk.setAPI(apiName,(_a={},_a[ddSdk_1.ENV_ENUM.ios]={vs:"2.9.0",paramsDeal:paramsDeal},_a[ddSdk_1.ENV_ENUM.android]={vs:"2.9.0",paramsDeal:paramsDeal},_a[ddSdk_1.ENV_ENUM.pc]={vs:"4.6.9",paramsDeal:paramsDeal},_a[ddSdk_1.ENV_ENUM.harmony]={vs:"7.0.0",paramsDeal:paramsDeal},_a)),exports.setItem$=setItem$,exports.default=setItem$;