polfan-server-js-client 0.0.5 → 0.0.6

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 (235) hide show
  1. package/.idea/deployment.xml +21 -0
  2. package/.idea/modules.xml +8 -0
  3. package/.idea/polfan-server-js-client.iml +8 -0
  4. package/.idea/vcs.xml +7 -0
  5. package/CODE_OF_CONDUCT.md +76 -0
  6. package/CONTRIBUTING.md +15 -0
  7. package/LICENSE +21 -0
  8. package/build/index.js +2 -0
  9. package/build/index.js.map +1 -0
  10. package/build/types/Client.d.ts +76 -0
  11. package/build/types/ObservableInterface.d.ts +9 -0
  12. package/{dist → build/types}/Token.d.ts +0 -0
  13. package/{dist → build/types}/connections/ConnectionInterface.d.ts +0 -0
  14. package/{dist → build/types}/connections/WebApiConnection.d.ts +0 -0
  15. package/{dist → build/types}/connections/WebSocketConnection.d.ts +0 -0
  16. package/build/types/dtos/Dto.d.ts +16 -0
  17. package/{dist → build/types}/dtos/Message.d.ts +0 -0
  18. package/{dist → build/types}/dtos/Permission.d.ts +0 -0
  19. package/{dist → build/types}/dtos/Role.d.ts +0 -0
  20. package/{dist → build/types}/dtos/Room.d.ts +0 -0
  21. package/{dist → build/types}/dtos/RoomMember.d.ts +0 -0
  22. package/{dist → build/types}/dtos/RoomSummary.d.ts +0 -0
  23. package/{dist → build/types}/dtos/Space.d.ts +0 -0
  24. package/{dist → build/types}/dtos/SpaceMember.d.ts +0 -0
  25. package/{dist → build/types}/dtos/Topic.d.ts +0 -0
  26. package/build/types/dtos/User.d.ts +9 -0
  27. package/{dist → build/types}/dtos/UserState.d.ts +0 -0
  28. package/{dist → build/types}/dtos/protocol/Envelope.d.ts +0 -0
  29. package/{dist → build/types}/dtos/protocol/EnvelopeMeta.d.ts +0 -0
  30. package/{dist → build/types}/dtos/protocol/commands/AssignRole.d.ts +0 -0
  31. package/{dist → build/types}/dtos/protocol/commands/CreateMessage.d.ts +0 -0
  32. package/{dist → build/types}/dtos/protocol/commands/CreateRole.d.ts +0 -0
  33. package/{dist → build/types}/dtos/protocol/commands/CreateRoom.d.ts +0 -0
  34. package/{dist → build/types}/dtos/protocol/commands/CreateSpace.d.ts +0 -0
  35. package/{dist → build/types}/dtos/protocol/commands/CreateTopic.d.ts +0 -0
  36. package/{dist → build/types}/dtos/protocol/commands/DeassignRole.d.ts +0 -0
  37. package/{dist → build/types}/dtos/protocol/commands/DeleteRole.d.ts +0 -0
  38. package/{dist → build/types}/dtos/protocol/commands/DeleteRoom.d.ts +0 -0
  39. package/{dist → build/types}/dtos/protocol/commands/DeleteSpace.d.ts +0 -0
  40. package/{dist → build/types}/dtos/protocol/commands/DeleteTopic.d.ts +0 -0
  41. package/{dist → build/types}/dtos/protocol/commands/GetComputedPermissions.d.ts +0 -0
  42. package/{dist → build/types}/dtos/protocol/commands/GetRolePermissions.d.ts +0 -0
  43. package/{dist → build/types}/dtos/protocol/commands/GetRoomMembers.d.ts +0 -0
  44. package/{dist → build/types}/dtos/protocol/commands/GetSession.d.ts +0 -0
  45. package/{dist → build/types}/dtos/protocol/commands/GetSpaceMembers.d.ts +0 -0
  46. package/{dist → build/types}/dtos/protocol/commands/GetSpaceRooms.d.ts +0 -0
  47. package/{dist → build/types}/dtos/protocol/commands/GetUserPermissions.d.ts +0 -0
  48. package/{dist → build/types}/dtos/protocol/commands/JoinRoom.d.ts +0 -0
  49. package/{dist → build/types}/dtos/protocol/commands/JoinSpace.d.ts +0 -0
  50. package/{dist → build/types}/dtos/protocol/commands/LeaveRoom.d.ts +0 -0
  51. package/{dist → build/types}/dtos/protocol/commands/LeaveSpace.d.ts +0 -0
  52. package/{dist → build/types}/dtos/protocol/commands/SetRolePermissions.d.ts +0 -0
  53. package/{dist → build/types}/dtos/protocol/commands/SetUserPermissions.d.ts +0 -0
  54. package/{dist → build/types}/dtos/protocol/events/Bye.d.ts +0 -0
  55. package/{dist → build/types}/dtos/protocol/events/Error.d.ts +0 -0
  56. package/{dist → build/types}/dtos/protocol/events/NewMessage.d.ts +0 -0
  57. package/{dist → build/types}/dtos/protocol/events/NewRole.d.ts +0 -0
  58. package/{dist → build/types}/dtos/protocol/events/NewRoom.d.ts +0 -0
  59. package/{dist → build/types}/dtos/protocol/events/NewTopic.d.ts +0 -0
  60. package/{dist → build/types}/dtos/protocol/events/Ok.d.ts +0 -0
  61. package/{dist → build/types}/dtos/protocol/events/Permissions.d.ts +0 -0
  62. package/{dist → build/types}/dtos/protocol/events/RoleDeleted.d.ts +0 -0
  63. package/{dist → build/types}/dtos/protocol/events/RoomDeleted.d.ts +0 -0
  64. package/{dist → build/types}/dtos/protocol/events/RoomJoined.d.ts +0 -0
  65. package/{dist → build/types}/dtos/protocol/events/RoomLeft.d.ts +0 -0
  66. package/{dist → build/types}/dtos/protocol/events/RoomMemberJoined.d.ts +0 -0
  67. package/{dist → build/types}/dtos/protocol/events/RoomMemberLeft.d.ts +0 -0
  68. package/{dist → build/types}/dtos/protocol/events/RoomMembers.d.ts +0 -0
  69. package/{dist → build/types}/dtos/protocol/events/Session.d.ts +0 -0
  70. package/{dist → build/types}/dtos/protocol/events/SpaceDeleted.d.ts +0 -0
  71. package/{dist → build/types}/dtos/protocol/events/SpaceJoined.d.ts +0 -0
  72. package/{dist → build/types}/dtos/protocol/events/SpaceLeft.d.ts +0 -0
  73. package/{dist → build/types}/dtos/protocol/events/SpaceMemberJoined.d.ts +0 -0
  74. package/{dist → build/types}/dtos/protocol/events/SpaceMemberLeft.d.ts +0 -0
  75. package/{dist → build/types}/dtos/protocol/events/SpaceMemberUpdate.d.ts +0 -0
  76. package/{dist → build/types}/dtos/protocol/events/SpaceMembers.d.ts +0 -0
  77. package/{dist → build/types}/dtos/protocol/events/SpaceRooms.d.ts +0 -0
  78. package/{dist → build/types}/dtos/protocol/events/TopicDeleted.d.ts +0 -0
  79. package/build/types/index.d.ts +23 -0
  80. package/{dist → build/types}/protocol.d.ts +0 -0
  81. package/{dist → old/dist}/Client.d.ts +0 -0
  82. package/{dist → old/dist}/ObservableInterface.d.ts +0 -0
  83. package/old/dist/Token.d.ts +5 -0
  84. package/old/dist/connections/ConnectionInterface.d.ts +17 -0
  85. package/old/dist/connections/WebApiConnection.d.ts +15 -0
  86. package/old/dist/connections/WebSocketConnection.d.ts +19 -0
  87. package/{dist → old/dist}/dtos/Dto.d.ts +0 -0
  88. package/old/dist/dtos/Message.d.ts +9 -0
  89. package/old/dist/dtos/Permission.d.ts +7 -0
  90. package/old/dist/dtos/Role.d.ts +7 -0
  91. package/old/dist/dtos/Room.d.ts +8 -0
  92. package/old/dist/dtos/RoomMember.d.ts +6 -0
  93. package/old/dist/dtos/RoomSummary.d.ts +7 -0
  94. package/old/dist/dtos/Space.d.ts +8 -0
  95. package/old/dist/dtos/SpaceMember.d.ts +7 -0
  96. package/old/dist/dtos/Topic.d.ts +7 -0
  97. package/{dist → old/dist}/dtos/User.d.ts +0 -0
  98. package/old/dist/dtos/UserState.d.ts +8 -0
  99. package/old/dist/dtos/protocol/Envelope.d.ts +7 -0
  100. package/old/dist/dtos/protocol/EnvelopeMeta.d.ts +6 -0
  101. package/{dist → old/dist}/dtos/protocol/ProtocolMessage.d.ts +0 -0
  102. package/{dist → old/dist}/dtos/protocol/ProtocolMetaData.d.ts +0 -0
  103. package/old/dist/dtos/protocol/commands/AssignRole.d.ts +7 -0
  104. package/old/dist/dtos/protocol/commands/CreateMessage.d.ts +7 -0
  105. package/old/dist/dtos/protocol/commands/CreateRole.d.ts +7 -0
  106. package/old/dist/dtos/protocol/commands/CreateRoom.d.ts +7 -0
  107. package/old/dist/dtos/protocol/commands/CreateSpace.d.ts +5 -0
  108. package/old/dist/dtos/protocol/commands/CreateTopic.d.ts +7 -0
  109. package/old/dist/dtos/protocol/commands/DeassignRole.d.ts +7 -0
  110. package/old/dist/dtos/protocol/commands/DeleteRole.d.ts +6 -0
  111. package/old/dist/dtos/protocol/commands/DeleteRoom.d.ts +5 -0
  112. package/old/dist/dtos/protocol/commands/DeleteSpace.d.ts +5 -0
  113. package/old/dist/dtos/protocol/commands/DeleteTopic.d.ts +5 -0
  114. package/old/dist/dtos/protocol/commands/GetComputedPermissions.d.ts +8 -0
  115. package/old/dist/dtos/protocol/commands/GetRolePermissions.d.ts +8 -0
  116. package/old/dist/dtos/protocol/commands/GetRoomMembers.d.ts +5 -0
  117. package/old/dist/dtos/protocol/commands/GetSession.d.ts +4 -0
  118. package/old/dist/dtos/protocol/commands/GetSpaceMembers.d.ts +5 -0
  119. package/old/dist/dtos/protocol/commands/GetSpaceRooms.d.ts +5 -0
  120. package/old/dist/dtos/protocol/commands/GetUserPermissions.d.ts +8 -0
  121. package/old/dist/dtos/protocol/commands/JoinRoom.d.ts +5 -0
  122. package/old/dist/dtos/protocol/commands/JoinSpace.d.ts +5 -0
  123. package/old/dist/dtos/protocol/commands/LeaveRoom.d.ts +5 -0
  124. package/old/dist/dtos/protocol/commands/LeaveSpace.d.ts +5 -0
  125. package/old/dist/dtos/protocol/commands/SetRolePermissions.d.ts +9 -0
  126. package/old/dist/dtos/protocol/commands/SetUserPermissions.d.ts +9 -0
  127. package/old/dist/dtos/protocol/events/Bye.d.ts +5 -0
  128. package/old/dist/dtos/protocol/events/Error.d.ts +6 -0
  129. package/old/dist/dtos/protocol/events/NewMessage.d.ts +6 -0
  130. package/old/dist/dtos/protocol/events/NewRole.d.ts +7 -0
  131. package/old/dist/dtos/protocol/events/NewRoom.d.ts +7 -0
  132. package/old/dist/dtos/protocol/events/NewTopic.d.ts +7 -0
  133. package/old/dist/dtos/protocol/events/Ok.d.ts +4 -0
  134. package/old/dist/dtos/protocol/events/Permissions.d.ts +6 -0
  135. package/old/dist/dtos/protocol/events/RoleDeleted.d.ts +6 -0
  136. package/old/dist/dtos/protocol/events/RoomDeleted.d.ts +5 -0
  137. package/old/dist/dtos/protocol/events/RoomJoined.d.ts +6 -0
  138. package/old/dist/dtos/protocol/events/RoomLeft.d.ts +5 -0
  139. package/old/dist/dtos/protocol/events/RoomMemberJoined.d.ts +6 -0
  140. package/old/dist/dtos/protocol/events/RoomMemberLeft.d.ts +5 -0
  141. package/old/dist/dtos/protocol/events/RoomMembers.d.ts +6 -0
  142. package/old/dist/dtos/protocol/events/Session.d.ts +9 -0
  143. package/old/dist/dtos/protocol/events/SpaceDeleted.d.ts +5 -0
  144. package/old/dist/dtos/protocol/events/SpaceJoined.d.ts +6 -0
  145. package/old/dist/dtos/protocol/events/SpaceLeft.d.ts +5 -0
  146. package/old/dist/dtos/protocol/events/SpaceMemberJoined.d.ts +6 -0
  147. package/old/dist/dtos/protocol/events/SpaceMemberLeft.d.ts +5 -0
  148. package/old/dist/dtos/protocol/events/SpaceMemberUpdate.d.ts +6 -0
  149. package/old/dist/dtos/protocol/events/SpaceMembers.d.ts +6 -0
  150. package/old/dist/dtos/protocol/events/SpaceRooms.d.ts +6 -0
  151. package/old/dist/dtos/protocol/events/TopicDeleted.d.ts +5 -0
  152. package/{dist → old/dist}/index.d.ts +0 -0
  153. package/{dist → old/dist}/index.js +0 -0
  154. package/{dist → old/dist}/index.js.map +0 -0
  155. package/old/dist/protocol.d.ts +7 -0
  156. package/{dist → old/dist}/pserv-js-client.js +0 -0
  157. package/{dist → old/dist}/pserv-js-client.js.map +0 -0
  158. package/old/package-lock.json +2654 -0
  159. package/old/package.json +22 -0
  160. package/old/tsconfig.json +12 -0
  161. package/package.json +55 -13
  162. package/tsconfig.json +15 -10
  163. package/webpack.config.demo.js +47 -0
  164. package/src/Client.ts +0 -166
  165. package/src/ObservableInterface.ts +0 -22
  166. package/src/Token.ts +0 -21
  167. package/src/connections/ConnectionInterface.ts +0 -20
  168. package/src/connections/WebApiConnection.ts +0 -43
  169. package/src/connections/WebSocketConnection.ts +0 -47
  170. package/src/dtos/Dto.ts +0 -45
  171. package/src/dtos/Message.ts +0 -16
  172. package/src/dtos/Permission.ts +0 -12
  173. package/src/dtos/Role.ts +0 -12
  174. package/src/dtos/Room.ts +0 -15
  175. package/src/dtos/RoomMember.ts +0 -13
  176. package/src/dtos/RoomSummary.ts +0 -12
  177. package/src/dtos/Space.ts +0 -15
  178. package/src/dtos/SpaceMember.ts +0 -14
  179. package/src/dtos/Topic.ts +0 -12
  180. package/src/dtos/User.ts +0 -15
  181. package/src/dtos/UserState.ts +0 -16
  182. package/src/dtos/protocol/Envelope.ts +0 -14
  183. package/src/dtos/protocol/EnvelopeMeta.ts +0 -11
  184. package/src/dtos/protocol/commands/AssignRole.ts +0 -12
  185. package/src/dtos/protocol/commands/CreateMessage.ts +0 -12
  186. package/src/dtos/protocol/commands/CreateRole.ts +0 -12
  187. package/src/dtos/protocol/commands/CreateRoom.ts +0 -12
  188. package/src/dtos/protocol/commands/CreateSpace.ts +0 -10
  189. package/src/dtos/protocol/commands/CreateTopic.ts +0 -12
  190. package/src/dtos/protocol/commands/DeassignRole.ts +0 -12
  191. package/src/dtos/protocol/commands/DeleteRole.ts +0 -11
  192. package/src/dtos/protocol/commands/DeleteRoom.ts +0 -10
  193. package/src/dtos/protocol/commands/DeleteSpace.ts +0 -10
  194. package/src/dtos/protocol/commands/DeleteTopic.ts +0 -10
  195. package/src/dtos/protocol/commands/GetComputedPermissions.ts +0 -13
  196. package/src/dtos/protocol/commands/GetRolePermissions.ts +0 -13
  197. package/src/dtos/protocol/commands/GetRoomMembers.ts +0 -10
  198. package/src/dtos/protocol/commands/GetSession.ts +0 -8
  199. package/src/dtos/protocol/commands/GetSpaceMembers.ts +0 -10
  200. package/src/dtos/protocol/commands/GetSpaceRooms.ts +0 -10
  201. package/src/dtos/protocol/commands/GetUserPermissions.ts +0 -13
  202. package/src/dtos/protocol/commands/JoinRoom.ts +0 -10
  203. package/src/dtos/protocol/commands/JoinSpace.ts +0 -10
  204. package/src/dtos/protocol/commands/LeaveRoom.ts +0 -10
  205. package/src/dtos/protocol/commands/LeaveSpace.ts +0 -10
  206. package/src/dtos/protocol/commands/SetRolePermissions.ts +0 -16
  207. package/src/dtos/protocol/commands/SetUserPermissions.ts +0 -16
  208. package/src/dtos/protocol/events/Bye.ts +0 -10
  209. package/src/dtos/protocol/events/Error.ts +0 -11
  210. package/src/dtos/protocol/events/NewMessage.ts +0 -13
  211. package/src/dtos/protocol/events/NewRole.ts +0 -14
  212. package/src/dtos/protocol/events/NewRoom.ts +0 -14
  213. package/src/dtos/protocol/events/NewTopic.ts +0 -14
  214. package/src/dtos/protocol/events/Ok.ts +0 -8
  215. package/src/dtos/protocol/events/Permissions.ts +0 -13
  216. package/src/dtos/protocol/events/RoleDeleted.ts +0 -11
  217. package/src/dtos/protocol/events/RoomDeleted.ts +0 -10
  218. package/src/dtos/protocol/events/RoomJoined.ts +0 -13
  219. package/src/dtos/protocol/events/RoomLeft.ts +0 -10
  220. package/src/dtos/protocol/events/RoomMemberJoined.ts +0 -13
  221. package/src/dtos/protocol/events/RoomMemberLeft.ts +0 -10
  222. package/src/dtos/protocol/events/RoomMembers.ts +0 -13
  223. package/src/dtos/protocol/events/Session.ts +0 -17
  224. package/src/dtos/protocol/events/SpaceDeleted.ts +0 -10
  225. package/src/dtos/protocol/events/SpaceJoined.ts +0 -13
  226. package/src/dtos/protocol/events/SpaceLeft.ts +0 -10
  227. package/src/dtos/protocol/events/SpaceMemberJoined.ts +0 -13
  228. package/src/dtos/protocol/events/SpaceMemberLeft.ts +0 -10
  229. package/src/dtos/protocol/events/SpaceMemberUpdate.ts +0 -13
  230. package/src/dtos/protocol/events/SpaceMembers.ts +0 -13
  231. package/src/dtos/protocol/events/SpaceRooms.ts +0 -13
  232. package/src/dtos/protocol/events/TopicDeleted.ts +0 -10
  233. package/src/index.ts +0 -26
  234. package/src/protocol.ts +0 -113
  235. package/webpack.config.js +0 -24
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="PublishConfigData" remoteFilesAllowedToDisappearOnAutoupload="false">
4
+ <serverData>
5
+ <paths name="a">
6
+ <serverdata>
7
+ <mappings>
8
+ <mapping local="$PROJECT_DIR$" web="/" />
9
+ </mappings>
10
+ </serverdata>
11
+ </paths>
12
+ <paths name="sklep.local">
13
+ <serverdata>
14
+ <mappings>
15
+ <mapping local="$PROJECT_DIR$" web="/" />
16
+ </mappings>
17
+ </serverdata>
18
+ </paths>
19
+ </serverData>
20
+ </component>
21
+ </project>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/polfan-server-js-client.iml" filepath="$PROJECT_DIR$/.idea/polfan-server-js-client.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="WEB_MODULE" version="4">
3
+ <component name="NewModuleRootManager">
4
+ <content url="file://$MODULE_DIR$" />
5
+ <orderEntry type="inheritedJdk" />
6
+ <orderEntry type="sourceFolder" forTests="false" />
7
+ </component>
8
+ </module>
package/.idea/vcs.xml ADDED
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
+ <mapping directory="$PROJECT_DIR$/myLibrary" vcs="Git" />
6
+ </component>
7
+ </project>
@@ -0,0 +1,76 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, sex characteristics, gender identity and expression,
9
+ level of experience, education, socio-economic status, nationality, personal
10
+ appearance, race, religion, or sexual identity and orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at opensource@hodgef.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
72
+
73
+ [homepage]: https://www.contributor-covenant.org
74
+
75
+ For answers to common questions about this code of conduct, see
76
+ https://www.contributor-covenant.org/faq
@@ -0,0 +1,15 @@
1
+ # Contributing
2
+
3
+ When contributing to this repository, please first discuss the change you wish to make via issue,
4
+ email, or any other method with the owners of this repository before working on a change.
5
+
6
+ Please note we have a code of conduct, please follow it in all your interactions with the project.
7
+
8
+ ## Pull Request Guidelines
9
+
10
+ 1. Please ensure your proposal will not radically change current functionality or bring along breaking changes.
11
+ 2. PRs only consisting of typo fixes (or other automated contributions), will not be accepted.
12
+ 3. Do not add any dependencies to the project.
13
+ 4. Document your changes thoroughly.
14
+ 5. Ensure coverage is complete (`npm run coverage` should show 100% coverage) and that none of the tests fail.
15
+ 6. Be reactive to any comments, reviews or change requests entered in your pull request.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2019 Francisco Hodge
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.