@whatwg-node/server-plugin-cookies 0.0.0 → 0.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/CookieStore.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { EventTarget } from '@whatwg-node/events';
1
2
  import { CookieChangeEvent } from './CookieChangeEvent';
2
3
  import { Cookie, CookieListItem, CookieStoreDeleteOptions, CookieStoreGetOptions } from './types';
3
4
  export declare class CookieStore extends EventTarget {
package/index.js CHANGED
@@ -61,7 +61,7 @@ function parse(str, options = {}) {
61
61
  return obj;
62
62
  }
63
63
 
64
- class CookieStore extends EventTarget {
64
+ class CookieStore extends events.EventTarget {
65
65
  get [Symbol.toStringTag]() {
66
66
  return 'CookieStore';
67
67
  }
package/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { Event } from '@whatwg-node/events';
1
+ import { Event, EventTarget } from '@whatwg-node/events';
2
2
 
3
3
  class CookieChangeEvent extends Event {
4
4
  constructor(type, eventInitDict = { changed: [], deleted: [] }) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whatwg-node/server-plugin-cookies",
3
- "version": "0.0.0",
3
+ "version": "0.0.1",
4
4
  "description": "Cookies Plugin",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {