-
Notifications
You must be signed in to change notification settings - Fork 587
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7b5bd68
commit 58dde25
Showing
1 changed file
with
17 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
diff --git a/node_modules/imgix-core-js/dist/imgix-core-js.js b/node_modules/imgix-core-js/dist/imgix-core-js.js | ||
index 56398af..b237dcd 100644 | ||
--- a/node_modules/imgix-core-js/dist/imgix-core-js.js | ||
+++ b/node_modules/imgix-core-js/dist/imgix-core-js.js | ||
@@ -1,3 +1,5 @@ | ||
+import { stringMd5 } from 'react-native-quick-md5' | ||
+ | ||
(function (global, factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define('Imgix', ['exports', 'md5', 'js-base64'], factory); | ||
@@ -134,7 +136,7 @@ | ||
# diff --git a/node_modules/imgix-core-js/dist/imgix-core-js.js b/node_modules/imgix-core-js/dist/imgix-core-js.js | ||
# index 56398af..b237dcd 100644 | ||
# --- a/node_modules/imgix-core-js/dist/imgix-core-js.js | ||
# +++ b/node_modules/imgix-core-js/dist/imgix-core-js.js | ||
# @@ -1,3 +1,5 @@ | ||
# +import { stringMd5 } from 'react-native-quick-md5' | ||
# + | ||
# (function (global, factory) { | ||
# if (typeof define === 'function' && define.amd) { | ||
# define('Imgix', ['exports', 'md5', 'js-base64'], factory); | ||
# @@ -134,7 +136,7 @@ | ||
|
||
ImgixClient.prototype._signParams = function(path, queryParams) { | ||
var signatureBase = this.settings.secureURLToken + path + queryParams; | ||
- var signature = md5(signatureBase); | ||
+ var signature = stringMd5(signatureBase); | ||
# ImgixClient.prototype._signParams = function(path, queryParams) { | ||
# var signatureBase = this.settings.secureURLToken + path + queryParams; | ||
# - var signature = md5(signatureBase); | ||
# + var signature = stringMd5(signatureBase); | ||
|
||
if (queryParams.length > 0) { | ||
return queryParams = queryParams + "&s=" + signature; | ||
# if (queryParams.length > 0) { | ||
# return queryParams = queryParams + "&s=" + signature; |