@amohamud23/notihub 1.0.174 → 1.0.175
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/dist/index.cjs +3 -5
- package/dist/index.js +3 -5
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -175,12 +175,10 @@ var import_lib_dynamodb = require("@aws-sdk/lib-dynamodb");
|
|
|
175
175
|
var isOffline = process.env.IS_OFFLINE === "true";
|
|
176
176
|
var ddbClient = new import_client_dynamodb.DynamoDBClient({
|
|
177
177
|
region: "localhost",
|
|
178
|
-
endpoint: "http://
|
|
178
|
+
endpoint: "http://0.0.0.0:8000",
|
|
179
179
|
credentials: {
|
|
180
|
-
accessKeyId: "
|
|
181
|
-
|
|
182
|
-
secretAccessKey: "DEFAULT_SECRET"
|
|
183
|
-
// needed if you don't have aws credentials at all in env
|
|
180
|
+
accessKeyId: "MockAccessKeyId",
|
|
181
|
+
secretAccessKey: "MockSecretAccessKey"
|
|
184
182
|
}
|
|
185
183
|
});
|
|
186
184
|
var ddbDocClient = import_lib_dynamodb.DynamoDBDocumentClient.from(ddbClient, {
|
package/dist/index.js
CHANGED
|
@@ -136,12 +136,10 @@ import { DynamoDBDocumentClient } from "@aws-sdk/lib-dynamodb";
|
|
|
136
136
|
var isOffline = process.env.IS_OFFLINE === "true";
|
|
137
137
|
var ddbClient = new DynamoDBClient({
|
|
138
138
|
region: "localhost",
|
|
139
|
-
endpoint: "http://
|
|
139
|
+
endpoint: "http://0.0.0.0:8000",
|
|
140
140
|
credentials: {
|
|
141
|
-
accessKeyId: "
|
|
142
|
-
|
|
143
|
-
secretAccessKey: "DEFAULT_SECRET"
|
|
144
|
-
// needed if you don't have aws credentials at all in env
|
|
141
|
+
accessKeyId: "MockAccessKeyId",
|
|
142
|
+
secretAccessKey: "MockSecretAccessKey"
|
|
145
143
|
}
|
|
146
144
|
});
|
|
147
145
|
var ddbDocClient = DynamoDBDocumentClient.from(ddbClient, {
|