@itutoring/itutoring_application_js_api 1.6.10 → 1.6.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.
@@ -177,6 +177,12 @@ class TableExplorer
177
177
 
178
178
  static async search(token, searchPhrase, base64encoded = true)
179
179
  {
180
+ searchPhrase = encodeURI(searchPhrase);
181
+ if (base64encoded)
182
+ {
183
+ searchPhrase = btoa(searchPhrase);
184
+ }
185
+
180
186
  var data = await APIController.Get(this.#MODULE, this.#SEARCH, {
181
187
  'token': token,
182
188
  'searchPhrase': searchPhrase,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itutoring/itutoring_application_js_api",
3
- "version": "1.6.10",
3
+ "version": "1.6.11",
4
4
  "description": "Javascript API for iTutoring Application",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",