@imam-inter/wasm-client-sdk 3.8.3-10 → 3.8.4-patch.11

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.
package/lib/index.es.js CHANGED
@@ -490,13 +490,13 @@ function initWorker() {
490
490
  ? new URL('worker.js', import.meta.url)
491
491
  : new URL('worker-legacy.js', import.meta.url);
492
492
  if (isViteEnvironment) {
493
- workerUrl = workerUrl.href.replace('.vite/deps', '@inter-digital/wasm-client-sdk/lib');
493
+ workerUrl = workerUrl.href.replace('.vite/deps', '@imam-inter/wasm-client-sdk/lib');
494
494
  }
495
495
  if (isNuxtEnvironment) {
496
- workerUrl = workerUrl.href.replace('.cache/vite/client/deps', '@inter-digital/wasm-client-sdk/lib');
496
+ workerUrl = workerUrl.href.replace('.cache/vite/client/deps', '@imam-inter/wasm-client-sdk/lib');
497
497
  }
498
498
  if (isQuasarEnvironment) {
499
- workerUrl = workerUrl.href.replace(/\.q-cache\/dev-spa\/[^/]+\/deps/, '@inter-digital/wasm-client-sdk/lib');
499
+ workerUrl = workerUrl.href.replace(/\.q-cache\/dev-spa\/[^/]+\/deps/, '@imam-inter/wasm-client-sdk/lib');
500
500
  }
501
501
  worker = new Worker(workerUrl, {
502
502
  type: isSupportModuleWorker ? 'module' : 'classic',
@@ -1334,7 +1334,7 @@ class SDK extends Emitter {
1334
1334
  });
1335
1335
  };
1336
1336
  this.createQuoteMessage = (params, operationID = v4()) => {
1337
- return this._invoker('createQuoteMessage', window.createQuoteMessage, [operationID, params.text, params.message], data => {
1337
+ return this._invoker('createQuoteMessage', window.createQuoteMessage, [operationID, params.text, JSON.stringify(params.message)], data => {
1338
1338
  // compitable with old version sdk
1339
1339
  return data[0];
1340
1340
  });
package/lib/index.js CHANGED
@@ -494,13 +494,13 @@ function initWorker() {
494
494
  ? new URL('worker.js', (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('index.js', document.baseURI).href)))
495
495
  : new URL('worker-legacy.js', (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('index.js', document.baseURI).href)));
496
496
  if (isViteEnvironment) {
497
- workerUrl = workerUrl.href.replace('.vite/deps', '@inter-digital/wasm-client-sdk/lib');
497
+ workerUrl = workerUrl.href.replace('.vite/deps', '@imam-inter/wasm-client-sdk/lib');
498
498
  }
499
499
  if (isNuxtEnvironment) {
500
- workerUrl = workerUrl.href.replace('.cache/vite/client/deps', '@inter-digital/wasm-client-sdk/lib');
500
+ workerUrl = workerUrl.href.replace('.cache/vite/client/deps', '@imam-inter/wasm-client-sdk/lib');
501
501
  }
502
502
  if (isQuasarEnvironment) {
503
- workerUrl = workerUrl.href.replace(/\.q-cache\/dev-spa\/[^/]+\/deps/, '@inter-digital/wasm-client-sdk/lib');
503
+ workerUrl = workerUrl.href.replace(/\.q-cache\/dev-spa\/[^/]+\/deps/, '@imam-inter/wasm-client-sdk/lib');
504
504
  }
505
505
  worker = new Worker(workerUrl, {
506
506
  type: isSupportModuleWorker ? 'module' : 'classic',
@@ -1338,7 +1338,7 @@ class SDK extends Emitter {
1338
1338
  });
1339
1339
  };
1340
1340
  this.createQuoteMessage = (params, operationID = v4()) => {
1341
- return this._invoker('createQuoteMessage', window.createQuoteMessage, [operationID, params.text, params.message], data => {
1341
+ return this._invoker('createQuoteMessage', window.createQuoteMessage, [operationID, params.text, JSON.stringify(params.message)], data => {
1342
1342
  // compitable with old version sdk
1343
1343
  return data[0];
1344
1344
  });
package/lib/index.umd.js CHANGED
@@ -496,13 +496,13 @@
496
496
  ? new URL('worker.js', (typeof document === 'undefined' && typeof location === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : typeof document === 'undefined' ? location.href : (document.currentScript && document.currentScript.src || new URL('index.umd.js', document.baseURI).href)))
497
497
  : new URL('worker-legacy.js', (typeof document === 'undefined' && typeof location === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : typeof document === 'undefined' ? location.href : (document.currentScript && document.currentScript.src || new URL('index.umd.js', document.baseURI).href)));
498
498
  if (isViteEnvironment) {
499
- workerUrl = workerUrl.href.replace('.vite/deps', '@inter-digital/wasm-client-sdk/lib');
499
+ workerUrl = workerUrl.href.replace('.vite/deps', '@imam-inter/wasm-client-sdk/lib');
500
500
  }
501
501
  if (isNuxtEnvironment) {
502
- workerUrl = workerUrl.href.replace('.cache/vite/client/deps', '@inter-digital/wasm-client-sdk/lib');
502
+ workerUrl = workerUrl.href.replace('.cache/vite/client/deps', '@imam-inter/wasm-client-sdk/lib');
503
503
  }
504
504
  if (isQuasarEnvironment) {
505
- workerUrl = workerUrl.href.replace(/\.q-cache\/dev-spa\/[^/]+\/deps/, '@inter-digital/wasm-client-sdk/lib');
505
+ workerUrl = workerUrl.href.replace(/\.q-cache\/dev-spa\/[^/]+\/deps/, '@imam-inter/wasm-client-sdk/lib');
506
506
  }
507
507
  worker = new Worker(workerUrl, {
508
508
  type: isSupportModuleWorker ? 'module' : 'classic',
@@ -1340,7 +1340,7 @@
1340
1340
  });
1341
1341
  };
1342
1342
  this.createQuoteMessage = (params, operationID = v4()) => {
1343
- return this._invoker('createQuoteMessage', window.createQuoteMessage, [operationID, params.text, params.message], data => {
1343
+ return this._invoker('createQuoteMessage', window.createQuoteMessage, [operationID, params.text, JSON.stringify(params.message)], data => {
1344
1344
  // compitable with old version sdk
1345
1345
  return data[0];
1346
1346
  });
@@ -66,7 +66,6 @@ export declare type GroupApplicationItem = {
66
66
  joinSource: GroupJoinSource;
67
67
  status: GroupStatus;
68
68
  userFaceURL: string;
69
- faceBackgroundColor: string;
70
69
  userID: string;
71
70
  };
72
71
  export declare type FriendApplicationItem = {