@ceramicnetwork/common 1.10.4 → 1.11.0

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.
Files changed (83) hide show
  1. package/CHANGELOG.md +96 -0
  2. package/README.md +0 -0
  3. package/lib/anchor-service.d.ts +0 -0
  4. package/lib/anchor-service.d.ts.map +0 -0
  5. package/lib/anchor-service.js +0 -0
  6. package/lib/anchor-service.js.map +0 -0
  7. package/lib/ceramic-api.d.ts +0 -0
  8. package/lib/ceramic-api.d.ts.map +0 -0
  9. package/lib/ceramic-api.js +0 -0
  10. package/lib/ceramic-api.js.map +0 -0
  11. package/lib/context.d.ts +0 -0
  12. package/lib/context.d.ts.map +0 -0
  13. package/lib/context.js +0 -0
  14. package/lib/context.js.map +0 -0
  15. package/lib/index.d.ts +0 -0
  16. package/lib/index.d.ts.map +0 -0
  17. package/lib/index.js +0 -0
  18. package/lib/index.js.map +0 -0
  19. package/lib/logger-base.d.ts +0 -0
  20. package/lib/logger-base.d.ts.map +0 -0
  21. package/lib/logger-base.js +0 -0
  22. package/lib/logger-base.js.map +0 -0
  23. package/lib/logger-provider-browser.d.ts +0 -0
  24. package/lib/logger-provider-browser.d.ts.map +0 -0
  25. package/lib/logger-provider-browser.js +0 -0
  26. package/lib/logger-provider-browser.js.map +0 -0
  27. package/lib/logger-provider.d.ts +0 -0
  28. package/lib/logger-provider.d.ts.map +0 -0
  29. package/lib/logger-provider.js +0 -0
  30. package/lib/logger-provider.js.map +0 -0
  31. package/lib/loggers-browser.d.ts +0 -0
  32. package/lib/loggers-browser.d.ts.map +0 -0
  33. package/lib/loggers-browser.js +0 -0
  34. package/lib/loggers-browser.js.map +0 -0
  35. package/lib/loggers.d.ts +0 -0
  36. package/lib/loggers.d.ts.map +0 -0
  37. package/lib/loggers.js +0 -0
  38. package/lib/loggers.js.map +0 -0
  39. package/lib/networks.d.ts +0 -0
  40. package/lib/networks.d.ts.map +0 -0
  41. package/lib/networks.js +0 -0
  42. package/lib/networks.js.map +0 -0
  43. package/lib/pinning.d.ts +0 -0
  44. package/lib/pinning.d.ts.map +0 -0
  45. package/lib/pinning.js +0 -0
  46. package/lib/pinning.js.map +0 -0
  47. package/lib/running-state-like.d.ts +0 -0
  48. package/lib/running-state-like.d.ts.map +0 -0
  49. package/lib/running-state-like.js +0 -0
  50. package/lib/running-state-like.js.map +0 -0
  51. package/lib/stream-state-subject.d.ts +0 -0
  52. package/lib/stream-state-subject.d.ts.map +0 -0
  53. package/lib/stream-state-subject.js +0 -0
  54. package/lib/stream-state-subject.js.map +0 -0
  55. package/lib/stream.d.ts +0 -0
  56. package/lib/stream.d.ts.map +0 -0
  57. package/lib/stream.js +0 -0
  58. package/lib/stream.js.map +0 -0
  59. package/lib/streamopts.d.ts +0 -0
  60. package/lib/streamopts.d.ts.map +0 -0
  61. package/lib/streamopts.js +0 -0
  62. package/lib/streamopts.js.map +0 -0
  63. package/lib/subscription-set.d.ts +0 -0
  64. package/lib/subscription-set.d.ts.map +0 -0
  65. package/lib/subscription-set.js +0 -0
  66. package/lib/subscription-set.js.map +0 -0
  67. package/lib/unreachable-case-error.d.ts +0 -0
  68. package/lib/unreachable-case-error.d.ts.map +0 -0
  69. package/lib/unreachable-case-error.js +0 -0
  70. package/lib/unreachable-case-error.js.map +0 -0
  71. package/lib/utils/http-utils.d.ts +0 -0
  72. package/lib/utils/http-utils.d.ts.map +0 -0
  73. package/lib/utils/http-utils.js +0 -0
  74. package/lib/utils/http-utils.js.map +0 -0
  75. package/lib/utils/stream-utils.d.ts +0 -0
  76. package/lib/utils/stream-utils.d.ts.map +0 -0
  77. package/lib/utils/stream-utils.js +0 -0
  78. package/lib/utils/stream-utils.js.map +0 -0
  79. package/lib/utils/test-utils.d.ts +1 -0
  80. package/lib/utils/test-utils.d.ts.map +1 -1
  81. package/lib/utils/test-utils.js +5 -0
  82. package/lib/utils/test-utils.js.map +1 -1
  83. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -3,6 +3,102 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.11.0](https://github.com/ceramicnetwork/js-ceramic/compare/@ceramicnetwork/common@1.10.4...@ceramicnetwork/common@1.11.0) (2022-01-12)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **core:** Allow loading multiple CommitIDs for the same stream in parallel ([#1956](https://github.com/ceramicnetwork/js-ceramic/issues/1956)) ([28cfd62](https://github.com/ceramicnetwork/js-ceramic/commit/28cfd622e684b3b7209884024e684be6e6a1fa88))
12
+ * **core:** Fix ipfs retries when using ipfs http client ([#1949](https://github.com/ceramicnetwork/js-ceramic/issues/1949)) ([953df1e](https://github.com/ceramicnetwork/js-ceramic/commit/953df1e45a16285d234a9db5c0fd9e023a47e998))
13
+ * Pin dag-jose contents ([#1451](https://github.com/ceramicnetwork/js-ceramic/issues/1451)) ([a598c10](https://github.com/ceramicnetwork/js-ceramic/commit/a598c10d77eba29877c6513eb8567972f6db83cf))
14
+ * resolve merge conflicts during merge from `main` ([#1848](https://github.com/ceramicnetwork/js-ceramic/issues/1848)) ([6772fc6](https://github.com/ceramicnetwork/js-ceramic/commit/6772fc6c61bc9daadfd3f6d6ecf3de2bb100450d))
15
+ * Revert Caip10 upgrade ([#1895](https://github.com/ceramicnetwork/js-ceramic/issues/1895)) ([1c376ef](https://github.com/ceramicnetwork/js-ceramic/commit/1c376ef92f4e93b6da819616cef4e5c7582c97e5))
16
+ * **cli,http-client:** Fix pin API in CLI and http client ([#752](https://github.com/ceramicnetwork/js-ceramic/issues/752)) ([20fcd75](https://github.com/ceramicnetwork/js-ceramic/commit/20fcd7598e589c088bcc778bafd1304efa64edb7))
17
+ * **common:** CeramicApi compatibility ([#1326](https://github.com/ceramicnetwork/js-ceramic/issues/1326)) ([1837c0d](https://github.com/ceramicnetwork/js-ceramic/commit/1837c0d6589d82de8b69d487d48f253e50f98dd2))
18
+ * **common:** Don't serialize null state fields ([#867](https://github.com/ceramicnetwork/js-ceramic/issues/867)) ([51b7375](https://github.com/ceramicnetwork/js-ceramic/commit/51b737542dc64cd3feac8af6c22fa32a81a48c8a))
19
+ * **common:** Don't use node packages at runtime in the logger if we might be running in-browser ([#1165](https://github.com/ceramicnetwork/js-ceramic/issues/1165)) ([937c4f4](https://github.com/ceramicnetwork/js-ceramic/commit/937c4f4fb5c7b403733397e9d4f3c8e442beb3cc))
20
+ * **common:** fix IpfsApi import ([#565](https://github.com/ceramicnetwork/js-ceramic/issues/565)) ([802c284](https://github.com/ceramicnetwork/js-ceramic/commit/802c284657c3d03df4268c1cf1f6d445e6b7218d))
21
+ * **common:** Remove additional LF symbol introduced by Morgan logger ([#1222](https://github.com/ceramicnetwork/js-ceramic/issues/1222)) ([838ce9c](https://github.com/ceramicnetwork/js-ceramic/commit/838ce9ccd835fa5039937807f7770cc6538f3e15))
22
+ * **common:** Show timezone with anchorScheduledFor property [#897](https://github.com/ceramicnetwork/js-ceramic/issues/897) ([#951](https://github.com/ceramicnetwork/js-ceramic/issues/951)) ([be2b472](https://github.com/ceramicnetwork/js-ceramic/commit/be2b472640d35165efeb61437b83a81f29e878be))
23
+ * **common, logger:** Clean up dependencies ([#1164](https://github.com/ceramicnetwork/js-ceramic/issues/1164)) ([191ad31](https://github.com/ceramicnetwork/js-ceramic/commit/191ad310b87ac9aba97bb84b122908337f35aa11))
24
+ * **core:** Don't display anchorScheduledFor at all when anchored ([#1101](https://github.com/ceramicnetwork/js-ceramic/issues/1101)) ([3be9e74](https://github.com/ceramicnetwork/js-ceramic/commit/3be9e741e6494040ad377d8714b407e4ba18a62b))
25
+ * **core:** Honor ethereumRpcUrl config option ([#830](https://github.com/ceramicnetwork/js-ceramic/issues/830)) ([a440b59](https://github.com/ceramicnetwork/js-ceramic/commit/a440b59ec692313e72bf3f3e15abb5b90cdef5e9))
26
+ * **core:** ipfs subscribe, pin version ([#1454](https://github.com/ceramicnetwork/js-ceramic/issues/1454)) ([fc9c5e7](https://github.com/ceramicnetwork/js-ceramic/commit/fc9c5e77ef84be448744b92fb35d5e3bf06f264d))
27
+ * **core:** Only poll for anchors at startup, don't submit a new request ([#1437](https://github.com/ceramicnetwork/js-ceramic/issues/1437)) ([ec17446](https://github.com/ceramicnetwork/js-ceramic/commit/ec17446b0472942f4e4bcfeb8037aebe5ce63525))
28
+ * **core:** only sync pinned streams the first time they are loaded ([#1417](https://github.com/ceramicnetwork/js-ceramic/issues/1417)) ([76be682](https://github.com/ceramicnetwork/js-ceramic/commit/76be6820fa2b5db49ede38b6cf20a9bee2702928))
29
+ * **core:** Optimize commit application to minimize calls to IPFS ([#1528](https://github.com/ceramicnetwork/js-ceramic/issues/1528)) ([75ee50e](https://github.com/ceramicnetwork/js-ceramic/commit/75ee50eb7ec988afdab81aa23a9f792fb5c7602c))
30
+ * CID version fix ([#638](https://github.com/ceramicnetwork/js-ceramic/issues/638)) ([a4f4390](https://github.com/ceramicnetwork/js-ceramic/commit/a4f4390ea561e991cae93dd26b9b122d10caef32))
31
+ * Fix tests by using node environment for jest ([#1212](https://github.com/ceramicnetwork/js-ceramic/issues/1212)) ([0f04006](https://github.com/ceramicnetwork/js-ceramic/commit/0f04006098f9028c6750c9920c4b3af758b71235))
32
+ * **doctype-caip10-link:** solidify data structure ([#619](https://github.com/ceramicnetwork/js-ceramic/issues/619)) ([d1e3b98](https://github.com/ceramicnetwork/js-ceramic/commit/d1e3b98bda51ad3a7d2b7d31b253be3a181d91ae))
33
+ * **http-client:** reload cached documents ([#719](https://github.com/ceramicnetwork/js-ceramic/issues/719)) ([6bc7dbf](https://github.com/ceramicnetwork/js-ceramic/commit/6bc7dbff31eaccfdbcb960effd850f069eb0d538))
34
+
35
+
36
+ ### Features
37
+
38
+ * add client side timeout to http-requests ([a33356c](https://github.com/ceramicnetwork/js-ceramic/commit/a33356c8a518252af9d81d1136411725c429cc3b))
39
+ * Import types, when only types are imported ([#1832](https://github.com/ceramicnetwork/js-ceramic/issues/1832)) ([bfa83c0](https://github.com/ceramicnetwork/js-ceramic/commit/bfa83c0c9f42b760f2f4a79eaf972eda99532489))
40
+ * **cli:** Add hierarchy to daemon config ([#1633](https://github.com/ceramicnetwork/js-ceramic/issues/1633)) ([138b49d](https://github.com/ceramicnetwork/js-ceramic/commit/138b49dddd8bb0a4df383b731df8641a0451b1d9))
41
+ * **cli,http-client:** Update HTTP API to use streams terminology ([#1237](https://github.com/ceramicnetwork/js-ceramic/issues/1237)) ([6c0a142](https://github.com/ceramicnetwork/js-ceramic/commit/6c0a1421623d5e0dd0ab5bc83413fcad75b14d66))
42
+ * **core,http-client:** Add 'force' option to pin API ([#1820](https://github.com/ceramicnetwork/js-ceramic/issues/1820)) ([7e2a742](https://github.com/ceramicnetwork/js-ceramic/commit/7e2a7425afaa0c0c4364ed0c052003ee39d6b40f))
43
+ * Support optional genesis property in multiquery API ([#1736](https://github.com/ceramicnetwork/js-ceramic/issues/1736)) ([3e08463](https://github.com/ceramicnetwork/js-ceramic/commit/3e084638467d2d8983835d3836aec3049ae82920))
44
+ * **cli:** Add S3StateStore ([#1041](https://github.com/ceramicnetwork/js-ceramic/issues/1041)) ([45e9d27](https://github.com/ceramicnetwork/js-ceramic/commit/45e9d27d50d3bddf3c32e331542839fda682675e))
45
+ * **common:** Change 'sync' option to an enum and refine sync behaviors ([#1269](https://github.com/ceramicnetwork/js-ceramic/issues/1269)) ([0b652fb](https://github.com/ceramicnetwork/js-ceramic/commit/0b652fb7bc37585bd8715fcfe4bc53d1fcc709ee))
46
+ * **common:** Miscellaneous renames from document-based to stream-based terminology ([#1290](https://github.com/ceramicnetwork/js-ceramic/issues/1290)) ([2ca935e](https://github.com/ceramicnetwork/js-ceramic/commit/2ca935ec22e7c7fb2f8b96180a4a791264ab57d3))
47
+ * **common:** Remove deprecated methods named with Records instead of Commits ([#1217](https://github.com/ceramicnetwork/js-ceramic/issues/1217)) ([43fa46a](https://github.com/ceramicnetwork/js-ceramic/commit/43fa46af31f71967426aa7ed2d93eb6b213ce1d3))
48
+ * **common:** Rename createDocumentFromGenesis to createStreamFromGenesis ([#1285](https://github.com/ceramicnetwork/js-ceramic/issues/1285)) ([0dbfbf3](https://github.com/ceramicnetwork/js-ceramic/commit/0dbfbf30621ae65be9ebb1f4d52b2ddb8a29fc4c))
49
+ * **common:** Rename Doctype to Stream ([#1266](https://github.com/ceramicnetwork/js-ceramic/issues/1266)) ([4ebb6ac](https://github.com/ceramicnetwork/js-ceramic/commit/4ebb6ac50bc17e48c471cbd36c19586549736a8c))
50
+ * **common:** Update createStreamFromGenesis to take 'type' number instead of 'doctype' string ([#1286](https://github.com/ceramicnetwork/js-ceramic/issues/1286)) ([967cf11](https://github.com/ceramicnetwork/js-ceramic/commit/967cf11ec95e5cd6650bfa49fa1efd9adab85d1b))
51
+ * **common,core:** Split DocOpts into CreateOpts, LoadOpts, and UpdateOpts ([#1229](https://github.com/ceramicnetwork/js-ceramic/issues/1229)) ([85ccbb8](https://github.com/ceramicnetwork/js-ceramic/commit/85ccbb825f6ffca0ca2524f768b0019cd5379432))
52
+ * **common,stream-tile,stream-tile-handler:** Add metadata option to forbid controller changes ([#1688](https://github.com/ceramicnetwork/js-ceramic/issues/1688)) ([85d6c97](https://github.com/ceramicnetwork/js-ceramic/commit/85d6c9789d28bb507abb9226be02e803cdc275ed))
53
+ * **core:** Add API to request an anchor ([#1622](https://github.com/ceramicnetwork/js-ceramic/issues/1622)) ([8473c6a](https://github.com/ceramicnetwork/js-ceramic/commit/8473c6a0554147912d76e4ed6edf50597a22a39c))
54
+ * **core:** Add chainId to genesis header ([#509](https://github.com/ceramicnetwork/js-ceramic/issues/509)) ([f916e63](https://github.com/ceramicnetwork/js-ceramic/commit/f916e633fcd61ad8fae8e1ac634f347b77302f06))
55
+ * **core:** Add new logger package ([#878](https://github.com/ceramicnetwork/js-ceramic/issues/878)) ([9756868](https://github.com/ceramicnetwork/js-ceramic/commit/9756868697344515635ca7fd634bd214bf419948))
56
+ * **core:** Allow loading signed records as document versions ([#617](https://github.com/ceramicnetwork/js-ceramic/issues/617)) ([ecf6943](https://github.com/ceramicnetwork/js-ceramic/commit/ecf6943c0e475b973bd1081b85f9cb1c9622cfe7))
57
+ * **core:** Allow pinning/unpinning alongside CRUD operations in a single request ([#1693](https://github.com/ceramicnetwork/js-ceramic/issues/1693)) ([3727337](https://github.com/ceramicnetwork/js-ceramic/commit/3727337a355ce092851d169abf4fe510878137f3))
58
+ * **core:** Break up and rename DocOpts args ([#527](https://github.com/ceramicnetwork/js-ceramic/issues/527)) ([13ed725](https://github.com/ceramicnetwork/js-ceramic/commit/13ed7254db0fe467165098b2f3e2825cb5baa6fb))
59
+ * **core:** Clean up Ceramic.create() and accept LoggerProvider in CeramicConfig ([#1021](https://github.com/ceramicnetwork/js-ceramic/issues/1021)) ([a53c534](https://github.com/ceramicnetwork/js-ceramic/commit/a53c534f89baab0b2a31cc8cbe9694efcc5cfa3f))
60
+ * **core:** enable the use of timestamps ([#1117](https://github.com/ceramicnetwork/js-ceramic/issues/1117)) ([f417e27](https://github.com/ceramicnetwork/js-ceramic/commit/f417e27ce34b56ed43a713ca6697c9f34b1b7ae7))
61
+ * **core:** Invalid commits don't prevent loading a stream ([#1597](https://github.com/ceramicnetwork/js-ceramic/issues/1597)) ([fb1dea1](https://github.com/ceramicnetwork/js-ceramic/commit/fb1dea15fb2587839dcca69bad829276fa790268))
62
+ * **core:** Loading a CommitID makes the node handle the commit CID as a potential new tip ([#1484](https://github.com/ceramicnetwork/js-ceramic/issues/1484)) ([46e0f22](https://github.com/ceramicnetwork/js-ceramic/commit/46e0f22f99d4ae47052083c4458de3d114cd6b59))
63
+ * **core:** Make isUnique default to true ([#427](https://github.com/ceramicnetwork/js-ceramic/issues/427)) ([cbd9041](https://github.com/ceramicnetwork/js-ceramic/commit/cbd90410865c3a7be00b0b153f682150dfd1ac91))
64
+ * **core:** Meat of State Refactor: final concurrency model ([#1130](https://github.com/ceramicnetwork/js-ceramic/issues/1130)) ([345d3d1](https://github.com/ceramicnetwork/js-ceramic/commit/345d3d1e16d4fe8f83e53a9c0d78228408f2b03c)), closes [#1141](https://github.com/ceramicnetwork/js-ceramic/issues/1141)
65
+ * **core:** optimize document handler IPFS lookups ([2cb95df](https://github.com/ceramicnetwork/js-ceramic/commit/2cb95df549a531c0727d699f7953286ed5611efa))
66
+ * **core:** Split AnchorService from AnchorValidator ([#1505](https://github.com/ceramicnetwork/js-ceramic/issues/1505)) ([b92add9](https://github.com/ceramicnetwork/js-ceramic/commit/b92add945e5fc52943a836dfad856dc052cfbee3))
67
+ * **core:** Sync Streams with cache before returning from multiQuery ([#1548](https://github.com/ceramicnetwork/js-ceramic/issues/1548)) ([b78637d](https://github.com/ceramicnetwork/js-ceramic/commit/b78637dbb48111d8e45dc285fcd05570ad031f2e))
68
+ * **core,http-client:** Add 'publish' option to unpin command ([#1706](https://github.com/ceramicnetwork/js-ceramic/issues/1706)) ([0ad204e](https://github.com/ceramicnetwork/js-ceramic/commit/0ad204e26e9d097ce8647ed3fd9efaea5484eb03))
69
+ * **daemon:** add raw_data endpoint ([#1395](https://github.com/ceramicnetwork/js-ceramic/issues/1395)) ([41b6109](https://github.com/ceramicnetwork/js-ceramic/commit/41b61091efc3c05ef7894ebb423fa5508cfcd689)), closes [ceramicnetwork#1394](https://github.com/ceramicnetwork/issues/1394)
70
+ * add networks enum and elp ([#1187](https://github.com/ceramicnetwork/js-ceramic/issues/1187)) ([7a60b30](https://github.com/ceramicnetwork/js-ceramic/commit/7a60b309067f428d904b0eb3723069fc90a05a4d))
71
+ * Check signature of a lone genesis ([#1529](https://github.com/ceramicnetwork/js-ceramic/issues/1529)) ([b55e225](https://github.com/ceramicnetwork/js-ceramic/commit/b55e225682e57aace057fb9e5e8aec0d78d63b75))
72
+ * DocState contains type as number ([#1250](https://github.com/ceramicnetwork/js-ceramic/issues/1250)) ([56501e2](https://github.com/ceramicnetwork/js-ceramic/commit/56501e264aebb4e9b01ea31422dfd6f7827b1382))
73
+ * Feed of pubsub messages ([#1058](https://github.com/ceramicnetwork/js-ceramic/issues/1058)) ([2d2bb5c](https://github.com/ceramicnetwork/js-ceramic/commit/2d2bb5c11082bd76d495817482e8ac21af20f6e5))
74
+ * Make optional custom file name for service log ([#1325](https://github.com/ceramicnetwork/js-ceramic/issues/1325)) ([f8b3c6d](https://github.com/ceramicnetwork/js-ceramic/commit/f8b3c6db5b6e57b6a89e54e327be0641d95e8c35))
75
+ * Pass issuer to verifyJWS ([#1542](https://github.com/ceramicnetwork/js-ceramic/issues/1542)) ([3c60b0c](https://github.com/ceramicnetwork/js-ceramic/commit/3c60b0c43267e29e17fd1f676f25bf11c2ab06d5))
76
+ * Pass time-information when checking a signature ([#1502](https://github.com/ceramicnetwork/js-ceramic/issues/1502)) ([913e091](https://github.com/ceramicnetwork/js-ceramic/commit/913e091827691f37a3e02ffcef569a22fd6f007d))
77
+ * **core:** Remove chainId from document metadata and stop enforcing of chainId when applying records ([#574](https://github.com/ceramicnetwork/js-ceramic/issues/574)) ([955d3f6](https://github.com/ceramicnetwork/js-ceramic/commit/955d3f6bd7348676d096cab8f32d932993690a6e))
78
+ * **core:** Remove doctype from genesis record ([#486](https://github.com/ceramicnetwork/js-ceramic/issues/486)) ([fbd68df](https://github.com/ceramicnetwork/js-ceramic/commit/fbd68df4664981a46596feffa68f85da742fbad2))
79
+ * **core:** Rename document "versions" to document "commits" ([#618](https://github.com/ceramicnetwork/js-ceramic/issues/618)) ([03bc30a](https://github.com/ceramicnetwork/js-ceramic/commit/03bc30a017662f3001ba855d1b73e1c245d0bfef))
80
+ * **core:** Rename several packages to remove redundant "ceramic-" prefix ([#460](https://github.com/ceramicnetwork/js-ceramic/issues/460)) ([8a86fb6](https://github.com/ceramicnetwork/js-ceramic/commit/8a86fb68b5f895f64e79a2585a5f854dd6c42088))
81
+ * **core, http-client:** Remove default DID Resolver and make apps provide via CeramicAPI.setDID() ([#1196](https://github.com/ceramicnetwork/js-ceramic/issues/1196)) ([e9b3c18](https://github.com/ceramicnetwork/js-ceramic/commit/e9b3c18d8786103589dafd268cba37694811d9b9))
82
+ * **core, http-client, common:** Doctype accepts Running State ([#1150](https://github.com/ceramicnetwork/js-ceramic/issues/1150)) ([0b708d4](https://github.com/ceramicnetwork/js-ceramic/commit/0b708d44beaa86b7fa121ce0afb5a4a59344fce1))
83
+ * **doctype-caip10-link:** Rename 'content' to 'did' for Caip10Link ([#1216](https://github.com/ceramicnetwork/js-ceramic/issues/1216)) ([f594ff0](https://github.com/ceramicnetwork/js-ceramic/commit/f594ff081048f0966c4dc8a57a3952e4235639f8))
84
+ * **doctype-tile:** Log when DID is authenticated ([#1199](https://github.com/ceramicnetwork/js-ceramic/issues/1199)) ([9d4a779](https://github.com/ceramicnetwork/js-ceramic/commit/9d4a77957d94c375dbc127e4fb5a1f8dc4953844))
85
+ * **http-client, cli:** Enable specifying DocOpts in CeramicClient.loadDocument ([#1225](https://github.com/ceramicnetwork/js-ceramic/issues/1225)) ([ce0694b](https://github.com/ceramicnetwork/js-ceramic/commit/ce0694b8405f29a6c54a2d214599d210e6f1e4de))
86
+ * **streamid:** Rename DocID to StreamID ([#1195](https://github.com/ceramicnetwork/js-ceramic/issues/1195)) ([65754d1](https://github.com/ceramicnetwork/js-ceramic/commit/65754d17ecfbdae9f110c71de91120200a6b4ef2))
87
+ * seperate node and browser loggers ([0532bee](https://github.com/ceramicnetwork/js-ceramic/commit/0532bee4aec22e115c3660cc3a0946204f2bff44))
88
+ * **tile:** Enforce that schemas must always be assigned with a version ([#477](https://github.com/ceramicnetwork/js-ceramic/issues/477)) ([28d8212](https://github.com/ceramicnetwork/js-ceramic/commit/28d8212a7b8cab399a2e8af6ba525e908c4548ab))
89
+ * **tile-doctype:** Update Tile API ([#1180](https://github.com/ceramicnetwork/js-ceramic/issues/1180)) ([90973ee](https://github.com/ceramicnetwork/js-ceramic/commit/90973ee32352e260cb040e687720095b145b4702))
90
+ * Unbundle DocID into DocID and CommitID ([#1009](https://github.com/ceramicnetwork/js-ceramic/issues/1009)) ([c2707f2](https://github.com/ceramicnetwork/js-ceramic/commit/c2707f212a9d23c88525b667944d24210e192f80))
91
+ * upgrade 3id did resolver ([#1108](https://github.com/ceramicnetwork/js-ceramic/issues/1108)) ([24ef6d4](https://github.com/ceramicnetwork/js-ceramic/commit/24ef6d45c6ce1dae828447ffdaa9e57f3f5e9b00))
92
+
93
+
94
+ ### Reverts
95
+
96
+ * Revert "chore(release):" ([26ed474](https://github.com/ceramicnetwork/js-ceramic/commit/26ed474717edaf2a276d5ffba063054f5a12e5e2))
97
+
98
+
99
+
100
+
101
+
6
102
  ## [1.10.4](https://github.com/ceramicnetwork/js-ceramic/compare/@ceramicnetwork/common@1.10.3...@ceramicnetwork/common@1.10.4) (2022-01-09)
7
103
 
8
104
  **Note:** Version bump only for package @ceramicnetwork/common
package/README.md CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/lib/context.d.ts CHANGED
File without changes
File without changes
package/lib/context.js CHANGED
File without changes
File without changes
package/lib/index.d.ts CHANGED
File without changes
File without changes
package/lib/index.js CHANGED
File without changes
package/lib/index.js.map CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/lib/loggers.d.ts CHANGED
File without changes
File without changes
package/lib/loggers.js CHANGED
File without changes
File without changes
package/lib/networks.d.ts CHANGED
File without changes
File without changes
package/lib/networks.js CHANGED
File without changes
File without changes
package/lib/pinning.d.ts CHANGED
File without changes
File without changes
package/lib/pinning.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/lib/stream.d.ts CHANGED
File without changes
File without changes
package/lib/stream.js CHANGED
File without changes
package/lib/stream.js.map CHANGED
File without changes
File without changes
File without changes
package/lib/streamopts.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -4,5 +4,6 @@ export declare class TestUtils {
4
4
  static registerChangeListener(stream: Stream): Promise<StreamState>;
5
5
  static waitForState(stream: Stream, timeout: number, predicate: (state: StreamState) => boolean, onFailure: () => void): Promise<void>;
6
6
  static runningState(state: StreamState): RunningStateLike;
7
+ static delay(ms: number): Promise<void>;
7
8
  }
8
9
  //# sourceMappingURL=test-utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"test-utils.d.ts","sourceRoot":"","sources":["../../src/utils/test-utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAGpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAcxD,qBAAa,SAAS;IAKpB,MAAM,CAAC,sBAAsB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC;WAYtD,YAAY,CACvB,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,OAAO,EAC1C,SAAS,EAAE,MAAM,IAAI,GACpB,OAAO,CAAC,IAAI,CAAC;IAUhB,MAAM,CAAC,YAAY,CAAC,KAAK,EAAE,WAAW,GAAG,gBAAgB;CAG1D"}
1
+ {"version":3,"file":"test-utils.d.ts","sourceRoot":"","sources":["../../src/utils/test-utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAGpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAcxD,qBAAa,SAAS;IAKpB,MAAM,CAAC,sBAAsB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC;WAYtD,YAAY,CACvB,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,OAAO,EAC1C,SAAS,EAAE,MAAM,IAAI,GACpB,OAAO,CAAC,IAAI,CAAC;IAUhB,MAAM,CAAC,YAAY,CAAC,KAAK,EAAE,WAAW,GAAG,gBAAgB;WAI5C,KAAK,CAAC,EAAE,EAAE,MAAM;CAK9B"}
@@ -28,6 +28,11 @@ class TestUtils {
28
28
  static runningState(state) {
29
29
  return new FakeRunningState(state);
30
30
  }
31
+ static async delay(ms) {
32
+ return new Promise((resolve) => {
33
+ setTimeout(() => resolve(), ms);
34
+ });
35
+ }
31
36
  }
32
37
  exports.TestUtils = TestUtils;
33
38
  //# sourceMappingURL=test-utils.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"test-utils.js","sourceRoot":"","sources":["../../src/utils/test-utils.ts"],"names":[],"mappings":";;;AACA,8CAA6C;AAC7C,+BAAsC;AAEtC,uDAAmD;AAEnD,MAAM,gBAAiB,SAAQ,sBAA4B;IAIzD,YAAY,KAAkB;QAC5B,KAAK,CAAC,KAAK,CAAC,CAAA;QACZ,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAA;QACvB,IAAI,CAAC,EAAE,GAAG,IAAI,mBAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAA;IAChE,CAAC;CACF;AAED,MAAa,SAAS;IAKpB,MAAM,CAAC,sBAAsB,CAAC,MAAc;QAC1C,OAAO,MAAM,CAAC,IAAI,CAAC,gBAAI,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,EAAE,CAAA;IACzC,CAAC;IAUD,MAAM,CAAC,KAAK,CAAC,YAAY,CACvB,MAAc,EACd,OAAe,EACf,SAA0C,EAC1C,SAAqB;QAErB,IAAI,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC;YAAE,OAAM;QACnC,MAAM,cAAc,GAAG,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAA;QAC7E,MAAM,iBAAiB,GAAG,MAAM,CAAC,IAAI,CAAC,kBAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,EAAE,CAAA;QACtF,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC,cAAc,EAAE,iBAAiB,CAAC,CAAC,CAAA;QACvD,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE;YAC5B,SAAS,EAAE,CAAA;SACZ;IACH,CAAC;IAED,MAAM,CAAC,YAAY,CAAC,KAAkB;QACpC,OAAO,IAAI,gBAAgB,CAAC,KAAK,CAAC,CAAA;IACpC,CAAC;CACF;AAnCD,8BAmCC"}
1
+ {"version":3,"file":"test-utils.js","sourceRoot":"","sources":["../../src/utils/test-utils.ts"],"names":[],"mappings":";;;AACA,8CAA6C;AAC7C,+BAAsC;AAEtC,uDAAmD;AAEnD,MAAM,gBAAiB,SAAQ,sBAA4B;IAIzD,YAAY,KAAkB;QAC5B,KAAK,CAAC,KAAK,CAAC,CAAA;QACZ,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAA;QACvB,IAAI,CAAC,EAAE,GAAG,IAAI,mBAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAA;IAChE,CAAC;CACF;AAED,MAAa,SAAS;IAKpB,MAAM,CAAC,sBAAsB,CAAC,MAAc;QAC1C,OAAO,MAAM,CAAC,IAAI,CAAC,gBAAI,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,EAAE,CAAA;IACzC,CAAC;IAUD,MAAM,CAAC,KAAK,CAAC,YAAY,CACvB,MAAc,EACd,OAAe,EACf,SAA0C,EAC1C,SAAqB;QAErB,IAAI,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC;YAAE,OAAM;QACnC,MAAM,cAAc,GAAG,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAA;QAC7E,MAAM,iBAAiB,GAAG,MAAM,CAAC,IAAI,CAAC,kBAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,EAAE,CAAA;QACtF,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC,cAAc,EAAE,iBAAiB,CAAC,CAAC,CAAA;QACvD,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE;YAC5B,SAAS,EAAE,CAAA;SACZ;IACH,CAAC;IAED,MAAM,CAAC,YAAY,CAAC,KAAkB;QACpC,OAAO,IAAI,gBAAgB,CAAC,KAAK,CAAC,CAAA;IACpC,CAAC;IAED,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,EAAU;QAC3B,OAAO,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,EAAE;YACnC,UAAU,CAAC,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,EAAE,CAAC,CAAA;QACjC,CAAC,CAAC,CAAA;IACJ,CAAC;CACF;AAzCD,8BAyCC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ceramicnetwork/common",
3
- "version": "1.10.4",
3
+ "version": "1.11.0",
4
4
  "description": "Ceramic common types and utilities",
5
5
  "keywords": [
6
6
  "ceramic",
@@ -31,7 +31,7 @@
31
31
  "clean": "rm -rf ./lib"
32
32
  },
33
33
  "dependencies": {
34
- "@ceramicnetwork/streamid": "^1.3.8",
34
+ "@ceramicnetwork/streamid": "^1.3.9",
35
35
  "@overnightjs/logger": "1.2.1",
36
36
  "abort-controller": "^3.0.0",
37
37
  "caip": "~1.0.0",
@@ -60,5 +60,5 @@
60
60
  "testEnvironment": "node",
61
61
  "resolver": "jest-resolver-enhanced"
62
62
  },
63
- "gitHead": "929f5822c905a9fd8162400ae73cf3b0ef814061"
63
+ "gitHead": "92d875bb1b8a05b1e58eaf57a5aeb570f2f717f3"
64
64
  }