repository-provider 30.0.0 → 30.0.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repository-provider",
3
- "version": "30.0.0",
3
+ "version": "30.0.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -401,10 +401,10 @@ export class Repository extends OwnedObject {
401
401
  * @param {Object} options
402
402
  * @return {Hook} newly created hook
403
403
  */
404
- addHook(name, ...args) {
404
+ addHook(name, options) {
405
405
  return (
406
406
  this.#hooks.find(hook => hook.name == name) ||
407
- new this.hookClass(this, name, ...args)
407
+ new this.hookClass(this, name, options)
408
408
  );
409
409
  }
410
410