@polkadot/api-augment 7.0.3-8 → 7.0.3-9

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 (63) hide show
  1. package/base.cjs +5 -0
  2. package/base.d.ts +2 -0
  3. package/{augment/index.js → base.js} +1 -7
  4. package/bundle.cjs +1 -1
  5. package/bundle.d.ts +1 -1
  6. package/bundle.js +1 -1
  7. package/{augment → kusama}/consts.cjs +0 -0
  8. package/kusama/consts.d.ts +892 -0
  9. package/{augment → kusama}/consts.js +0 -0
  10. package/{augment → kusama}/errors.cjs +0 -0
  11. package/kusama/errors.d.ts +1855 -0
  12. package/{augment → kusama}/errors.js +0 -0
  13. package/{augment → kusama}/events.cjs +0 -0
  14. package/kusama/events.d.ts +1278 -0
  15. package/{augment → kusama}/events.js +0 -0
  16. package/{augment → kusama}/index.cjs +1 -3
  17. package/{augment → kusama}/index.d.ts +1 -2
  18. package/kusama/index.js +8 -0
  19. package/{augment → kusama}/query.cjs +0 -0
  20. package/kusama/query.d.ts +1913 -0
  21. package/{augment → kusama}/query.js +0 -0
  22. package/{augment → kusama}/tx.cjs +0 -0
  23. package/kusama/tx.d.ts +4877 -0
  24. package/{augment → kusama}/tx.js +0 -0
  25. package/package.json +100 -35
  26. package/packageInfo.cjs +1 -1
  27. package/packageInfo.js +1 -1
  28. package/polkadot/consts.cjs +1 -0
  29. package/polkadot/consts.d.ts +764 -0
  30. package/polkadot/consts.js +1 -0
  31. package/polkadot/errors.cjs +1 -0
  32. package/polkadot/errors.d.ts +1634 -0
  33. package/polkadot/errors.js +1 -0
  34. package/polkadot/events.cjs +1 -0
  35. package/polkadot/events.d.ts +1126 -0
  36. package/polkadot/events.js +1 -0
  37. package/polkadot/index.cjs +13 -0
  38. package/polkadot/index.d.ts +6 -0
  39. package/polkadot/index.js +8 -0
  40. package/polkadot/query.cjs +1 -0
  41. package/polkadot/query.d.ts +1758 -0
  42. package/polkadot/query.js +1 -0
  43. package/polkadot/tx.cjs +1 -0
  44. package/polkadot/tx.d.ts +4275 -0
  45. package/polkadot/tx.js +1 -0
  46. package/substrate/consts.cjs +1 -0
  47. package/{augment → substrate}/consts.d.ts +0 -0
  48. package/substrate/consts.js +1 -0
  49. package/substrate/errors.cjs +1 -0
  50. package/{augment → substrate}/errors.d.ts +0 -0
  51. package/substrate/errors.js +1 -0
  52. package/substrate/events.cjs +1 -0
  53. package/{augment → substrate}/events.d.ts +0 -0
  54. package/substrate/events.js +1 -0
  55. package/substrate/index.cjs +13 -0
  56. package/substrate/index.d.ts +6 -0
  57. package/substrate/index.js +8 -0
  58. package/substrate/query.cjs +1 -0
  59. package/{augment → substrate}/query.d.ts +0 -0
  60. package/substrate/query.js +1 -0
  61. package/substrate/tx.cjs +1 -0
  62. package/{augment → substrate}/tx.d.ts +0 -0
  63. package/substrate/tx.js +1 -0
package/base.cjs ADDED
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ require("@polkadot/rpc-augment");
4
+
5
+ require("@polkadot/types-augment");
package/base.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ import '@polkadot/rpc-augment';
2
+ import '@polkadot/types-augment';
@@ -2,10 +2,4 @@
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
  // for the API, we decorate not only the endpoints, but all types
4
4
  import '@polkadot/rpc-augment';
5
- import '@polkadot/types-augment'; // the augmentated types (on top of @polkadot/api-base)
6
-
7
- import "./consts.js";
8
- import "./errors.js";
9
- import "./events.js";
10
- import "./query.js";
11
- import "./tx.js";
5
+ import '@polkadot/types-augment';
package/bundle.cjs CHANGED
@@ -10,6 +10,6 @@ Object.defineProperty(exports, "packageInfo", {
10
10
  }
11
11
  });
12
12
 
13
- require("./augment/index.cjs");
13
+ require("./substrate/index.cjs");
14
14
 
15
15
  var _packageInfo = require("./packageInfo.cjs");
package/bundle.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import './augment';
1
+ import './substrate';
2
2
  export { packageInfo } from './packageInfo';
package/bundle.js CHANGED
@@ -1,4 +1,4 @@
1
1
  // Copyright 2017-2021 @polkadot/api-augment authors & contributors
2
2
  // SPDX-License-Identifier: Apache-2.0
3
- import "./augment/index.js";
3
+ import "./substrate/index.js";
4
4
  export { packageInfo } from "./packageInfo.js";
File without changes