text: !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("./helpers.ts")):"function"==typeof define&&define.amd?define(["exports","./helpers.ts"],t):t(e.shopifyPushNotifications={},e.helpers_ts)}(this,function(e,t){e.push=function(e,o){var s=t.shopifyDomainFrom(e);return{token:function(e,n){try{return Promise.resolve(t.request(s,o,"/push-token",{token:e,customer:n}))}catch(e){return Promise.reject(e)}},message:function(e,n,r){return t.request(s,o,"/push-message",{title:e,body:n,data:r})}}}});
  //# sourceMappingURL=api.ts.umd.js.map
  