@rpldy/shared-ui
Advanced tools
Comparing version 0.1.12 to 0.2.0
@@ -6,3 +6,3 @@ "use strict"; | ||
}); | ||
exports.useRequestPreSend = exports.useItemAbortListener = exports.useItemErrorListener = exports.useItemCancelListener = exports.useItemProgressListener = exports.useItemFinishListener = exports.useItemStartListener = exports.useBatchProgressListener = exports.useBatchAbortListener = exports.useBatchCancelledListener = exports.useBatchFinishListener = exports.useBatchStartListener = exports.useBatchAddListener = void 0; | ||
exports.useRequestPreSend = exports.useItemFinalizeListener = exports.useItemAbortListener = exports.useItemErrorListener = exports.useItemCancelListener = exports.useItemProgressListener = exports.useItemFinishListener = exports.useItemStartListener = exports.useBatchProgressListener = exports.useBatchAbortListener = exports.useBatchCancelledListener = exports.useBatchFinishListener = exports.useBatchStartListener = exports.useBatchAddListener = void 0; | ||
@@ -43,2 +43,4 @@ var _uploader = require("@rpldy/uploader"); | ||
exports.useItemAbortListener = useItemAbortListener; | ||
var useItemFinalizeListener = (0, _utils.generateUploaderEventHook)(_uploader.UPLOADER_EVENTS.ITEM_FINALIZE); | ||
exports.useItemFinalizeListener = useItemFinalizeListener; | ||
var useItemProgressListener = (0, _utils.generateUploaderEventHookWithState)(_uploader.UPLOADER_EVENTS.ITEM_PROGRESS, function (item) { | ||
@@ -45,0 +47,0 @@ return _objectSpread({}, item); |
@@ -110,2 +110,8 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "useItemFinalizeListener", { | ||
enumerable: true, | ||
get: function get() { | ||
return _eventListenerHooks.useItemFinalizeListener; | ||
} | ||
}); | ||
Object.defineProperty(exports, "useRequestPreSend", { | ||
@@ -112,0 +118,0 @@ enumerable: true, |
{ | ||
"version": "0.1.12", | ||
"version": "0.2.0", | ||
"name": "@rpldy/shared-ui", | ||
@@ -20,4 +20,4 @@ "description": "internal set of utils+types for react-uploady UI", | ||
"dependencies": { | ||
"@rpldy/shared": "^0.1.12", | ||
"@rpldy/uploader": "^0.1.12" | ||
"@rpldy/shared": "^0.2.0", | ||
"@rpldy/uploader": "^0.2.0" | ||
}, | ||
@@ -34,3 +34,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "054e837009e2c6ea8a98733b09292f48d03c16d9" | ||
"gitHead": "51f53ece84e5caf5a77c2035c10ca1aa93d69216" | ||
} |
@@ -51,2 +51,3 @@ import * as React from "react"; | ||
export const useItemAbortListener: ItemEventHook; | ||
export const useItemFinalizeListener: ItemEventHook; | ||
@@ -53,0 +54,0 @@ type PreSendData = {items: BatchItem[]; options: CreateOptions}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
37358
576
+ Added@rpldy/life-events@0.2.4(transitive)
+ Added@rpldy/sender@0.2.4(transitive)
+ Added@rpldy/shared@0.2.4(transitive)
+ Added@rpldy/uploader@0.2.4(transitive)
- Removed@rpldy/life-events@0.1.12(transitive)
- Removed@rpldy/sender@0.1.12(transitive)
- Removed@rpldy/shared@0.1.12(transitive)
- Removed@rpldy/uploader@0.1.12(transitive)
Updated@rpldy/shared@^0.2.0
Updated@rpldy/uploader@^0.2.0