@smartico/public-api 0.0.218 → 0.0.220

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.
@@ -15,6 +15,7 @@ export interface SAWTemplateUI {
15
15
  background_image_mobile?: string;
16
16
  background_sound?: string;
17
17
  spin_animation_duration?: number;
18
+ wheel_pointer_rotation?: number;
18
19
  scratch_logo?: string;
19
20
  scratch_cover?: string;
20
21
  scratch_bg_desktop?: string;
package/dist/index.js CHANGED
@@ -2932,7 +2932,12 @@ var SmarticoAPI = /*#__PURE__*/function () {
2932
2932
  return C_SOCKET_PROD.replace('{ENV_ID}', SmarticoAPI.getEnvDnsSuffix(label_api_key));
2933
2933
  };
2934
2934
  SmarticoAPI.getAvatarUrl = function getAvatarUrl(label_api_key) {
2935
- return AVATAR_DOMAIN.replace('{ENV_ID}', SmarticoAPI.getEnvDnsSuffix(label_api_key));
2935
+ var envId = SmarticoAPI.getEnvDnsSuffix(label_api_key);
2936
+ if (envId === '4') {
2937
+ return 'https://dvm0p9vsezqr2.cloudfront.net';
2938
+ } else {
2939
+ return AVATAR_DOMAIN.replace('{ENV_ID}', SmarticoAPI.getEnvDnsSuffix(label_api_key));
2940
+ }
2936
2941
  };
2937
2942
  var _proto = SmarticoAPI.prototype;
2938
2943
  _proto.send = function send(message, expectCID, force_language) {