@cratis/arc 20.5.0 → 20.5.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.
Files changed (36) hide show
  1. package/dist/cjs/queries/QueryResult.js +1 -1
  2. package/dist/cjs/queries/QueryResult.js.map +1 -1
  3. package/dist/cjs/queries/QueryResultWithState.js +3 -3
  4. package/dist/cjs/queries/QueryResultWithState.js.map +1 -1
  5. package/dist/cjs/queries/WebSocketHubConnection.d.ts +8 -8
  6. package/dist/cjs/queries/WebSocketHubConnection.d.ts.map +1 -1
  7. package/dist/cjs/queries/WebSocketHubConnection.js +8 -8
  8. package/dist/cjs/queries/WebSocketHubConnection.js.map +1 -1
  9. package/dist/esm/queries/QueryResult.js +1 -1
  10. package/dist/esm/queries/QueryResult.js.map +1 -1
  11. package/dist/esm/queries/QueryResultWithState.js +3 -3
  12. package/dist/esm/queries/QueryResultWithState.js.map +1 -1
  13. package/dist/esm/queries/WebSocketHubConnection.d.ts +8 -8
  14. package/dist/esm/queries/WebSocketHubConnection.d.ts.map +1 -1
  15. package/dist/esm/queries/WebSocketHubConnection.js +8 -8
  16. package/dist/esm/queries/WebSocketHubConnection.js.map +1 -1
  17. package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_is_null_for_non_enumerable.js +2 -3
  18. package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_is_null_for_non_enumerable.js.map +1 -1
  19. package/dist/esm/queries/for_QueryResultWithState/when_creating_empty/with_null_default_value.js +1 -2
  20. package/dist/esm/queries/for_QueryResultWithState/when_creating_empty/with_null_default_value.js.map +1 -1
  21. package/dist/esm/queries/for_QueryResultWithState/when_creating_empty/with_undefined_default_value.js +1 -2
  22. package/dist/esm/queries/for_QueryResultWithState/when_creating_empty/with_undefined_default_value.js.map +1 -1
  23. package/dist/esm/queries/for_QueryResultWithState/when_creating_initial/with_null_default_value.js +1 -2
  24. package/dist/esm/queries/for_QueryResultWithState/when_creating_initial/with_null_default_value.js.map +1 -1
  25. package/dist/esm/queries/for_QueryResultWithState/when_creating_initial/with_undefined_default_value.js +1 -2
  26. package/dist/esm/queries/for_QueryResultWithState/when_creating_initial/with_undefined_default_value.js.map +1 -1
  27. package/dist/esm/tsconfig.tsbuildinfo +1 -1
  28. package/package.json +1 -1
  29. package/queries/QueryResult.ts +1 -1
  30. package/queries/QueryResultWithState.ts +3 -3
  31. package/queries/WebSocketHubConnection.ts +9 -9
  32. package/queries/for_QueryResult/when_asking_has_data/and_it_is_null_for_non_enumerable.ts +2 -3
  33. package/queries/for_QueryResultWithState/when_creating_empty/with_null_default_value.ts +1 -2
  34. package/queries/for_QueryResultWithState/when_creating_empty/with_undefined_default_value.ts +1 -2
  35. package/queries/for_QueryResultWithState/when_creating_initial/with_null_default_value.ts +1 -2
  36. package/queries/for_QueryResultWithState/when_creating_initial/with_undefined_default_value.ts +1 -2
@@ -1,8 +1,7 @@
1
1
  import { QueryResultWithState } from '../../QueryResultWithState';
2
2
  describe('when creating initial with undefined default value', () => {
3
3
  const result = QueryResultWithState.initial(undefined);
4
- it('should have data that is not undefined', () => (result.data !== undefined).should.be.true);
5
- it('should have data that is not null', () => (result.data !== null).should.be.true);
4
+ it('should have undefined data since undefined defaultValue is passed through', () => (result.data === undefined).should.be.true);
6
5
  it('should not have data', () => result.hasData.should.be.false);
7
6
  it('should be performing', () => result.isPerforming.should.be.true);
8
7
  });
@@ -1 +1 @@
1
- {"version":3,"file":"with_undefined_default_value.js","sourceRoot":"","sources":["../../../../../queries/for_QueryResultWithState/when_creating_initial/with_undefined_default_value.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,QAAQ,CAAC,oDAAoD,EAAE,GAAG,EAAE;IAChE,MAAM,MAAM,GAAG,oBAAoB,CAAC,OAAO,CAAW,SAAgC,CAAC,CAAC;IAExF,EAAE,CAAC,wCAAwC,EAAE,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC;IAC/F,EAAE,CAAC,mCAAmC,EAAE,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC;IACrF,EAAE,CAAC,sBAAsB,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC;IACjE,EAAE,CAAC,sBAAsB,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,YAAY,CAAC,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC;AACzE,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"with_undefined_default_value.js","sourceRoot":"","sources":["../../../../../queries/for_QueryResultWithState/when_creating_initial/with_undefined_default_value.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,QAAQ,CAAC,oDAAoD,EAAE,GAAG,EAAE;IAChE,MAAM,MAAM,GAAG,oBAAoB,CAAC,OAAO,CAAW,SAAgC,CAAC,CAAC;IAExF,EAAE,CAAC,2EAA2E,EAAE,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC;IAClI,EAAE,CAAC,sBAAsB,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC;IACjE,EAAE,CAAC,sBAAsB,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,YAAY,CAAC,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC;AACzE,CAAC,CAAC,CAAC"}