Commit Graph

98 Commits

Author SHA1 Message Date
semantic-release-bot b5635a29b0 chore(release): 0.2.0-develop.20 [skip ci]
# [0.2.0-develop.20](https://git.lumeweb.com/LumeWeb/libportal/compare/v0.2.0-develop.19...v0.2.0-develop.20) (2023-09-02)

### Bug Fixes

* check for only undefined or null on the size ([bd10837](bd108376ba))
2023-09-02 10:54:53 +00:00
semantic-release-bot 7bd66df4b1 chore(release): 0.2.0-develop.19 [skip ci]
# [0.2.0-develop.19](https://git.lumeweb.com/LumeWeb/libportal/compare/v0.2.0-develop.18...v0.2.0-develop.19) (2023-09-02)

### Bug Fixes

* fix encodeCid overload typings ([2eb5810](2eb5810dec))
2023-09-02 10:45:17 +00:00
semantic-release-bot 069237271a chore(release): 0.2.0-develop.18 [skip ci]
# [0.2.0-develop.18](https://git.lumeweb.com/LumeWeb/libportal/compare/v0.2.0-develop.17...v0.2.0-develop.18) (2023-09-02)
2023-09-02 10:27:23 +00:00
Derrick Hammer 001119b4c3
Merge remote-tracking branch 'origin/develop' into develop 2023-09-02 06:25:54 -04:00
Derrick Hammer 9bece08a19
refactor: update cid encoding/decoding to use libs5 CID_HASH_TYPES and CID_TYPES, and use a default type of raw and default hash type of blake3 2023-09-02 06:25:49 -04:00
semantic-release-bot 2fad185062 chore(release): 0.2.0-develop.17 [skip ci]
# [0.2.0-develop.17](https://git.lumeweb.com/LumeWeb/libportal/compare/v0.2.0-develop.16...v0.2.0-develop.17) (2023-08-10)

### Bug Fixes

* refactor how we process a nodejs stream, as the current approach is extremely slow and wasteful. We need to do a bit of macgyvering and convert it via pipe to a passthrough so it passes a typeof check for Stream, then import it to form-data Response, and request a blob ([ae35797](ae35797a25))
2023-08-10 05:36:53 +00:00
semantic-release-bot b0a9e85d65 chore(release): 0.2.0-develop.16 [skip ci]
# [0.2.0-develop.16](https://git.lumeweb.com/LumeWeb/libportal/compare/v0.2.0-develop.15...v0.2.0-develop.16) (2023-07-18)

### Features

* add portalUrl getter ([0d0b2d4](0d0b2d4799))
2023-07-18 20:21:12 +00:00
semantic-release-bot d64dd524ab chore(release): 0.2.0-develop.15 [skip ci]
# [0.2.0-develop.15](https://git.lumeweb.com/LumeWeb/libportal/compare/v0.2.0-develop.14...v0.2.0-develop.15) (2023-07-18)

### Bug Fixes

* further wasm loading fixes ([d7d146b](d7d146b78d))
2023-07-18 15:10:25 +00:00
semantic-release-bot c9d4d330db chore(release): 0.2.0-develop.14 [skip ci]
# [0.2.0-develop.14](https://git.lumeweb.com/LumeWeb/libportal/compare/v0.2.0-develop.13...v0.2.0-develop.14) (2023-07-18)

### Bug Fixes

* async loading quirk in firefox js engine ([ea90488](ea9048868a))
2023-07-18 14:20:10 +00:00
semantic-release-bot 5445337ba3 chore(release): 0.2.0-develop.13 [skip ci]
# [0.2.0-develop.13](https://git.lumeweb.com/LumeWeb/libportal/compare/v0.2.0-develop.12...v0.2.0-develop.13) (2023-07-18)

### Bug Fixes

* switch to using utf8ToBytes ([37fd754](37fd7543af))
2023-07-18 13:37:03 +00:00
semantic-release-bot 3e4fc635b1 chore(release): 0.2.0-develop.12 [skip ci]
# [0.2.0-develop.12](https://git.lumeweb.com/LumeWeb/libportal/compare/v0.2.0-develop.11...v0.2.0-develop.12) (2023-07-08)

### Bug Fixes

* add ?init query string for vite bundler ([04bd963](04bd9636a3))
2023-07-08 08:31:17 +00:00
semantic-release-bot db16e58038 chore(release): 0.2.0-develop.11 [skip ci]
# [0.2.0-develop.11](https://git.lumeweb.com/LumeWeb/libportal/compare/v0.2.0-develop.10...v0.2.0-develop.11) (2023-06-26)

### Bug Fixes

* update uploadFile return type ([848f3df](848f3dff9d))
2023-06-26 04:11:28 +00:00
semantic-release-bot 7319f5a048 chore(release): 0.2.0-develop.10 [skip ci]
# [0.2.0-develop.10](https://git.lumeweb.com/LumeWeb/libportal/compare/v0.2.0-develop.9...v0.2.0-develop.10) (2023-06-26)

### Bug Fixes

* add missing controller.enqueue ([2aa53fa](2aa53faf00))
* add properties and methods to go wasm middleware, accessed via reflection ([53dd352](53dd352c95))
* ensure root and proof are Uint8Array's ([0c320f9](0c320f992b))
* exit not properly exported in wasm ([23a55f7](23a55f772b))
* fix wasmDone logic error ([68fec66](68fec66069))
* need to refactor verification stream logic further and check if the stream is done but wasm isn't ([051f4b2](051f4b2da7))
* rename exit to kill to fix symbol conflict ([50a7c80](50a7c80358))
* update uploadFile overload types ([45fbc1b](45fbc1b63d))
2023-06-26 04:03:52 +00:00
Derrick Hammer a0c131ffb7
ci: fix build script 2023-06-25 23:45:59 -04:00
Derrick Hammer b8ab5faced
chore: update @lumeweb/node-library-preset 2023-06-25 18:02:02 -04:00
Derrick Hammer dd43e29b29
refactor: update presetter and switch to @lumeweb/node-library-preset 2023-06-25 17:20:40 -04:00
semantic-release-bot c69420ae90 chore(release): 0.2.0-develop.9 [skip ci]
# [0.2.0-develop.9](https://git.lumeweb.com/LumeWeb/libportal/compare/v0.2.0-develop.8...v0.2.0-develop.9) (2023-06-24)

### Bug Fixes

* check against MAGIC_BYTES ([cb4048b](cb4048b963))
* need to setup wasm state before calling getNextBytes ([0cbb09b](0cbb09b247))
* wasm loading ([a530a07](a530a07f01))
2023-06-24 07:36:26 +00:00
semantic-release-bot 29adc6dcca chore(release): 0.2.0-develop.8 [skip ci]
# [0.2.0-develop.8](https://git.lumeweb.com/LumeWeb/libportal/compare/v0.2.0-develop.7...v0.2.0-develop.8) (2023-06-24)

### Bug Fixes

* force version bump ([6555fcd](6555fcd9a3))
2023-06-24 06:50:12 +00:00
semantic-release-bot ab31ab6345 chore(release): 0.2.0-develop.7 [skip ci]
# [0.2.0-develop.7](https://git.lumeweb.com/LumeWeb/libportal/compare/v0.2.0-develop.6...v0.2.0-develop.7) (2023-06-24)

### Bug Fixes

* dynamically import fetch and Response if required ([8f78dd2](8f78dd2c7b))
2023-06-24 05:32:38 +00:00
Derrick Hammer bfaa307821
Merge remote-tracking branch 'origin/develop' into develop 2023-06-24 01:30:58 -04:00
Derrick Hammer 8f78dd2c7b
fix: dynamically import fetch and Response if required 2023-06-24 01:30:53 -04:00
semantic-release-bot 3948839aa1 chore(release): 0.2.0-develop.6 [skip ci]
# [0.2.0-develop.6](https://git.lumeweb.com/LumeWeb/libportal/compare/v0.2.0-develop.5...v0.2.0-develop.6) (2023-06-24)

### Bug Fixes

* better handle wasm loading on node and browser ([23c8244](23c8244a68))
* fix uploading in node due to issues around streams and blobs ([adacdff](adacdff1c3))
* import needs to be relative, not hash ([a9e94ba](a9e94ba896))
2023-06-24 03:44:31 +00:00
Derrick Hammer 76910d6253
Merge remote-tracking branch 'origin/develop' into develop 2023-06-23 23:42:47 -04:00
Derrick Hammer adacdff1c3
fix: fix uploading in node due to issues around streams and blobs 2023-06-23 23:42:30 -04:00
semantic-release-bot dd29b6a585 chore(release): 0.2.0-develop.5 [skip ci]
# [0.2.0-develop.5](https://git.lumeweb.com/LumeWeb/libportal/compare/v0.2.0-develop.4...v0.2.0-develop.5) (2023-06-23)

### Bug Fixes

* import needs to be relative, not hash ([0350fee](0350feef64))
2023-06-23 13:01:09 +00:00
semantic-release-bot 716a6e37d3 chore(release): 0.2.0-develop.4 [skip ci]
# [0.2.0-develop.4](https://git.lumeweb.com/LumeWeb/libportal/compare/v0.2.0-develop.3...v0.2.0-develop.4) (2023-06-23)

### Bug Fixes

* do conditional node checks and dynamic imports ([4a90fb0](4a90fb0f6e))
2023-06-23 12:53:36 +00:00
Derrick Hammer a82436f1c0
Merge remote-tracking branch 'origin/develop' into develop
# Conflicts:
#	npm-shrinkwrap.json
2023-06-23 08:51:43 -04:00
Derrick Hammer 4a90fb0f6e
fix: do conditional node checks and dynamic imports 2023-06-23 08:51:03 -04:00
semantic-release-bot 99e6500d09 chore(release): 0.2.0-develop.3 [skip ci]
# [0.2.0-develop.3](https://git.lumeweb.com/LumeWeb/libportal/compare/v0.2.0-develop.2...v0.2.0-develop.3) (2023-06-23)

### Bug Fixes

* need to import whole module as wildcard ([8afd780](8afd780ac7))
2023-06-23 09:55:43 +00:00
semantic-release-bot da7036496d chore(release): 0.2.0-develop.2 [skip ci]
# [0.2.0-develop.2](https://git.lumeweb.com/LumeWeb/libportal/compare/v0.2.0-develop.1...v0.2.0-develop.2) (2023-06-23)

### Features

* initial verified streaming support ([41b20b1](41b20b1465))
2023-06-23 07:05:27 +00:00
Derrick Hammer a8e262bb7b
ci: fix wasm output path 2023-06-23 03:03:40 -04:00
Derrick Hammer cfc04b2509
ci: add quotes around bash 2023-06-23 02:54:39 -04:00
Derrick Hammer 2c77cfa478
ci: ensure bash runs 2023-06-23 02:53:02 -04:00
Derrick Hammer 4103ad4652
ci: switch to sourcing gvm in wasm script 2023-06-23 02:51:05 -04:00
Derrick Hammer 891397e535
ci: add gvm use call to script 2023-06-23 02:47:59 -04:00
Derrick Hammer 2f3a116f8d
ci: change wasm build to cd into folder 2023-06-23 02:45:17 -04:00
Derrick Hammer 41b20b1465
feat: initial verified streaming support 2023-06-23 01:49:29 -04:00
semantic-release-bot e84915ec08 chore(release): 0.2.0-develop.1 [skip ci]
# [0.2.0-develop.1](https://git.lumeweb.com/LumeWeb/libportal/compare/v0.1.2...v0.2.0-develop.1) (2023-06-21)

### Features

* allow using existing jwt ([3784858](3784858600))
2023-06-21 09:36:54 +00:00
Derrick Hammer e67ca43306
Revert "ci: rename build to pbuild to prevent loops"
This reverts commit 214013b2f1.
2023-06-21 00:36:10 -04:00
Derrick Hammer 214013b2f1
ci: rename build to pbuild to prevent loops 2023-06-21 00:25:47 -04:00
Derrick Hammer c90d63b191
ci: update npm publish config 2023-06-15 23:26:40 -04:00
Derrick Hammer ec2ada13f4
ci: fix build command 2023-06-15 23:20:11 -04:00
Derrick Hammer d7430565d8
ci: ensure all of lib is packaged 2023-06-15 22:39:46 -04:00
Derrick Hammer b26b5d7045
chore: manually set version 2023-06-15 22:36:09 -04:00
Derrick Hammer a47873f21c
ci: add build script command 2023-06-15 21:50:19 -04:00
Derrick Hammer 2bdbf77b95
fix: wrong git repo 2023-06-15 21:03:53 -04:00
Derrick Hammer 601773b904
chore: add semantic-release 2023-06-15 20:59:41 -04:00
Derrick Hammer c42f218100
feat: initial version 2023-06-15 01:34:42 -04:00