blocket.js 1.1.1 → 1.1.3

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/README.md CHANGED
@@ -126,8 +126,4 @@ Retrieves a specific ad by its ID.
126
126
 
127
127
  This project is licensed under the [MIT License](https://github.com/rutbergphilip/blocket.js/blob/main/LICENSE) – free for personal and commercial use.
128
128
 
129
- If you find this project useful, crediting the author is greatly appreciated!
130
-
131
- ## Star History
132
-
133
- [![Star History Chart](https://api.star-history.com/svg?repos=rutbergphilip/blocket.js&type=Date)](https://star-history.com/#rutbergphilip/blocket.js&Date)
129
+ If you find this project useful, crediting the author and contributing to the project is greatly appreciated!
package/dist/index.d.ts CHANGED
@@ -1,4 +1,7 @@
1
1
  import * as client from './client';
2
+ export default client;
2
3
  import { configure } from './config';
3
4
  export { configure };
4
- export default client;
5
+ import type { BlocketQueryConfig } from './types/config';
6
+ import type { BlocketAd } from './types';
7
+ export type { BlocketQueryConfig, BlocketAd };
package/dist/index.js CHANGED
@@ -35,7 +35,7 @@ var __importStar = (this && this.__importStar) || (function () {
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
36
  exports.configure = void 0;
37
37
  const client = __importStar(require("./client"));
38
+ exports.default = client;
38
39
  const config_1 = require("./config");
39
40
  Object.defineProperty(exports, "configure", { enumerable: true, get: function () { return config_1.configure; } });
40
- exports.default = client;
41
41
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../lib/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iDAAmC;AACnC,qCAAqC;AAE5B,0FAFA,kBAAS,OAEA;AAClB,kBAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../lib/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iDAAmC;AACnC,kBAAe,MAAM,CAAC;AAEtB,qCAAqC;AAC5B,0FADA,kBAAS,OACA"}
package/lib/index.ts CHANGED
@@ -1,5 +1,9 @@
1
1
  import * as client from './client';
2
- import { configure } from './config';
2
+ export default client;
3
3
 
4
+ import { configure } from './config';
4
5
  export { configure };
5
- export default client;
6
+
7
+ import type { BlocketQueryConfig } from './types/config';
8
+ import type { BlocketAd } from './types';
9
+ export type { BlocketQueryConfig, BlocketAd };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blocket.js",
3
- "version": "1.1.1",
3
+ "version": "1.1.3",
4
4
  "description": "A user-friendly js wrapper for blocket.se",
5
5
  "keywords": [
6
6
  "blocket",