agora-rtm-react
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -8,3 +8,2 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
var client; | ||
function createClosure() { | ||
@@ -14,6 +13,4 @@ if (!client) { | ||
} | ||
return client; | ||
} | ||
return function () { | ||
@@ -25,3 +22,2 @@ return createClosure(); | ||
var channel; | ||
function createClosure(client) { | ||
@@ -31,6 +27,4 @@ if (!channel) { | ||
} | ||
return channel; | ||
} | ||
return function (client) { | ||
@@ -42,3 +36,2 @@ return createClosure(client); | ||
var client; | ||
function createClosure(appId, config, areaCodes) { | ||
@@ -48,6 +41,4 @@ if (!client) { | ||
} | ||
return client; | ||
} | ||
return function (appId, config, areaCodes) { | ||
@@ -59,3 +50,2 @@ return createClosure(appId, config, areaCodes); | ||
var channel; | ||
function createClosure(client, channelId) { | ||
@@ -65,6 +55,4 @@ if (!channel) { | ||
} | ||
return channel; | ||
} | ||
return function (client, channelId) { | ||
@@ -75,3 +63,2 @@ return createClosure(client, channelId); | ||
var AreaCode; | ||
(function (AreaCode) { | ||
@@ -78,0 +65,0 @@ AreaCode["GLOBAL"] = "GLOBAL"; |
@@ -6,3 +6,2 @@ import AgoraRTM__default from 'agora-rtm-sdk'; | ||
var client; | ||
function createClosure() { | ||
@@ -12,6 +11,4 @@ if (!client) { | ||
} | ||
return client; | ||
} | ||
return function () { | ||
@@ -23,3 +20,2 @@ return createClosure(); | ||
var channel; | ||
function createClosure(client) { | ||
@@ -29,6 +25,4 @@ if (!channel) { | ||
} | ||
return channel; | ||
} | ||
return function (client) { | ||
@@ -40,3 +34,2 @@ return createClosure(client); | ||
var client; | ||
function createClosure(appId, config, areaCodes) { | ||
@@ -46,6 +39,4 @@ if (!client) { | ||
} | ||
return client; | ||
} | ||
return function (appId, config, areaCodes) { | ||
@@ -57,3 +48,2 @@ return createClosure(appId, config, areaCodes); | ||
var channel; | ||
function createClosure(client, channelId) { | ||
@@ -63,6 +53,4 @@ if (!channel) { | ||
} | ||
return channel; | ||
} | ||
return function (client, channelId) { | ||
@@ -73,3 +61,2 @@ return createClosure(client, channelId); | ||
var AreaCode; | ||
(function (AreaCode) { | ||
@@ -76,0 +63,0 @@ AreaCode["GLOBAL"] = "GLOBAL"; |
{ | ||
"name": "agora-rtm-react", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "A wrapper for Agora RTM Web SDK to use with react/reactjs", | ||
@@ -53,10 +53,10 @@ "author": "EkaanshArora", | ||
"gh-pages": "^2.2.0", | ||
"microbundle-crl": "^0.13.10", | ||
"microbundle-crl": "^0.13.11", | ||
"npm-run-all": "^4.1.5", | ||
"prettier": "^2.0.4", | ||
"prettier": "^2.8.0", | ||
"react": "^16.13.1", | ||
"react-dom": "^16.13.1", | ||
"react-scripts": "^3.4.1", | ||
"typedoc": "^0.22.12", | ||
"typescript": "^3.7.5" | ||
"react-scripts": "^5.0.1", | ||
"typedoc": "^0.23.21", | ||
"typescript": "^4.9.3" | ||
}, | ||
@@ -67,4 +67,4 @@ "files": [ | ||
"dependencies": { | ||
"agora-rtm-sdk": "^1.5.0" | ||
"agora-rtm-sdk": "1.4.3-203" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23093
+ Addedagora-rtm-sdk@1.4.3-203(transitive)
- Removedagora-rtm-sdk@1.6.0(transitive)
Updatedagora-rtm-sdk@1.4.3-203