@tipe/databox-loader
Advanced tools
Comparing version 0.0.4 to 0.1.0
{ | ||
"name": "@tipe/databox-loader", | ||
"version": "0.0.4", | ||
"version": "0.1.0", | ||
"description": "Tipe Databox Loader for talking with Databox", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
const create = require('./create') | ||
const batch = require('./batch') | ||
@@ -6,6 +7,12 @@ function createDatabox(url, models, actions) { | ||
} | ||
function createBatchDatabox(url, models, actions) { | ||
return batch(url, models, actions) | ||
} | ||
createDatabox.createBatchDatabox = createBatchDatabox | ||
createDatabox.createDatabox = createDatabox | ||
createDatabox['default'] = createDatabox | ||
Object.defineProperty(exports, "__esModule", { | ||
Object.defineProperty(createDatabox, "__esModule", { | ||
value: true | ||
@@ -12,0 +19,0 @@ }); |
@@ -7,2 +7,10 @@ | ||
}); | ||
test('should have __esModule', () => { | ||
const createDatabox = require('./index'); | ||
expect(createDatabox.hasOwnProperty('__esModule')).toBe(true); | ||
}); | ||
test('should have createDatabox', () => { | ||
const createDatabox = require('./index'); | ||
expect(createDatabox.hasOwnProperty('createDatabox')).toBe(true); | ||
}); | ||
}) |
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
103177
9
209
2