@eluvio/elv-client-js 3.2.29 → 3.2.30

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.
@@ -27,6 +27,8 @@ var permissionLevels = require("./client/ContentAccess").permissionLevels;
27
27
  var _require = require("./LogMessage"),
28
28
  LogMessage = _require.LogMessage;
29
29
 
30
+ var Crypto = require("./Crypto");
31
+
30
32
  var FrameClient = /*#__PURE__*/function () {
31
33
  "use strict";
32
34
 
@@ -78,7 +80,9 @@ var FrameClient = /*#__PURE__*/function () {
78
80
 
79
81
  this.target = target;
80
82
  this.timeout = timeout;
81
- this.utils = Utils; // Dynamically defined methods defined in AllowedMethods
83
+ this.utils = Utils;
84
+ this.Crypto = Crypto;
85
+ this.Crypto.ElvCrypto(); // Dynamically defined methods defined in AllowedMethods
82
86
 
83
87
  var _iterator = _createForOfIteratorHelper(this.AllowedMethods()),
84
88
  _step;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eluvio/elv-client-js",
3
- "version": "3.2.29",
3
+ "version": "3.2.30",
4
4
  "description": "Javascript client for the Eluvio Content Fabric",
5
5
  "main": "src/index.js",
6
6
  "author": "Kevin Talmadge",
@@ -2,6 +2,7 @@ const Id = require("./Id");
2
2
  const Utils = require("./Utils");
3
3
  const permissionLevels = require("./client/ContentAccess").permissionLevels;
4
4
  const {LogMessage} = require("./LogMessage");
5
+ const Crypto = require("./Crypto");
5
6
 
6
7
  class FrameClient {
7
8
  Log(message, error = false) {
@@ -50,6 +51,10 @@ class FrameClient {
50
51
 
51
52
  this.utils = Utils;
52
53
 
54
+ this.Crypto = Crypto;
55
+ this.Crypto.ElvCrypto();
56
+
57
+
53
58
  // Dynamically defined methods defined in AllowedMethods
54
59
  for(const methodName of this.AllowedMethods()){
55
60
  this[methodName] = async (args) => {